/* ==========================================================================
   CARAÏBE BAT — atelier · 2026
   Direction : éditorial architectural × brutalisme tropical
   --------------------------------------------------------------------------
   Palette : terre cuite, ocre, sable cru, encre profonde.
   Typographie : Fraunces (serif éditorial) / Inter Tight / JetBrains Mono.
   ========================================================================== */

:root {
    /* —— couleurs —— */
    --paper:        #efe6d6;
    --paper-deep:   #e6dcc8;
    --paper-soft:   #f6efe2;
    --ink:          #1c1916;
    --ink-soft:     #2a2622;
    --concrete:     #6b635a;
    --concrete-2:   #9c9285;
    --terra:        #b94e2a;
    --terra-deep:   #93391b;
    --ochre:        #d59a3e;
    --sea:          #2f4d44;
    --rule:         rgba(28, 25, 22, 0.14);
    --rule-soft:    rgba(28, 25, 22, 0.07);

    /* —— polices —— */
    --f-display:    'Fraunces', 'Times New Roman', serif;
    --f-body:       'Inter Tight', system-ui, sans-serif;
    --f-mono:       'JetBrains Mono', ui-monospace, monospace;

    /* —— mesures —— */
    --max:          1320px;
    --pad-x:        clamp(20px, 4vw, 56px);
    --pad-y:        clamp(80px, 9vw, 140px);
    --rad:          2px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv11";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(rgba(28, 25, 22, 0.045) 1px, transparent 1px);
    background-size: 3px 3px;
    mix-blend-mode: multiply;
    opacity: 0.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--terra); color: var(--paper-soft); }

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    position: relative;
}

/* ==========================================================================
   COORDINATES STAMP
   ========================================================================== */
.coord-stamp {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 50;
    display: flex; align-items: center; gap: 10px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.72;
    background: rgba(239, 230, 214, 0.6);
    border: 1px solid var(--rule);
    padding: 7px 12px;
    backdrop-filter: blur(4px);
}
.coord-stamp .coord-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--terra);
    box-shadow: 0 0 0 3px rgba(185, 78, 42, 0.18);
    animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}
@media (max-width: 900px) { .coord-stamp { display: none; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px var(--pad-x);
    background: rgba(239, 230, 214, 0.82);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px) saturate(140%);
    transition: padding .35s ease, border-color .35s ease, background .35s ease;
}
.site-header.is-scrolled {
    padding: 10px var(--pad-x);
    border-bottom-color: var(--rule);
    background: rgba(239, 230, 214, 0.94);
}

.brand {
    display: inline-flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.brand-mark {
    width: 38px; height: 38px;
    background: var(--ink);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    overflow: hidden;
    flex: none;
    position: relative;
}
.brand-mark::after {
    content: "CB";
    color: var(--paper);
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.brand-mark img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.brand-name {
    display: flex; flex-direction: column;
    line-height: 1;
}
.brand-name-row {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.brand-name-row--alt {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete);
    margin-top: 4px;
}
.brand-name-row--alt em {
    color: var(--terra);
    font-style: italic;
    font-family: var(--f-display);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    margin-right: 2px;
}

.primary-nav { justify-self: center; }
.primary-nav ul {
    list-style: none;
    display: flex;
    gap: clamp(16px, 2.6vw, 36px);
}
.nav-link {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 6px 0;
    position: relative;
    font-size: 14px;
    color: var(--ink);
    transition: color .25s ease;
}
.nav-link::after {
    content: ""; position: absolute;
    left: 0; right: 100%; bottom: -2px;
    height: 1px;
    background: var(--terra);
    transition: right .35s cubic-bezier(.6,.05,.4,1);
}
.nav-link:hover { color: var(--terra); }
.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }
.nav-num {
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--concrete);
    letter-spacing: 0.1em;
    transition: color .25s ease;
}
.nav-link:hover .nav-num { color: var(--terra); }

.header-cta {
    display: inline-flex; align-items: center; gap: 12px;
}
.phone-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-size: 12px;
}
.phone-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--terra);
    box-shadow: 0 0 0 3px rgba(185, 78, 42, 0.16);
    animation: blink 2.4s ease-in-out infinite;
}
.phone-label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--concrete);
}
.phone-num { font-weight: 500; color: var(--ink); }

.btn-quote {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    font-size: 13px;
    transition: background .25s ease, transform .25s ease;
}
.btn-quote:hover { background: var(--terra); transform: translateX(2px); }
.btn-quote svg { transition: transform .25s ease; }
.btn-quote:hover svg { transform: translateX(3px); }

.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
}
.menu-toggle span {
    width: 22px; height: 1.5px;
    background: var(--ink);
    transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1100px) {
    .primary-nav, .phone-pill { display: none; }
    .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
    .btn-quote { padding: 8px 12px; font-size: 12px; }
    .brand-name-row { font-size: 16px; }
}

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */
.mobile-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 100%);
    background: var(--ink);
    color: var(--paper);
    padding: 30px var(--pad-x) 36px;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.6,.05,.4,1);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 50px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
}
.mn-close { color: var(--paper); font-size: 32px; line-height: 1; }
.mobile-nav ul {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 0;
    flex: 1;
}
.mobile-nav li { border-top: 1px solid rgba(239, 230, 214, 0.12); }
.mobile-nav li:last-child { border-bottom: 1px solid rgba(239, 230, 214, 0.12); }
.mobile-nav a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 22px 0;
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 400;
    color: var(--paper);
    transition: color .25s ease, padding .25s ease;
}
.mobile-nav a span {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--concrete-2);
}
.mobile-nav a:hover { color: var(--ochre); padding-left: 12px; }
.mobile-nav-foot {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(239, 230, 214, 0.12);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav-foot a { color: var(--ochre); font-size: 18px; font-family: var(--f-display); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    padding: 130px var(--pad-x) 90px;
    min-height: 100vh;
    display: flex; flex-direction: column;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 90px var(--pad-x) 60px;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--rule-soft) 1px, transparent 1px);
    background-size: calc(100% / 12) 100%;
    opacity: 0.7;
}

.hero-meta {
    position: absolute;
    z-index: 2;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete);
}
.hero-meta--left {
    left: var(--pad-x); top: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(-90deg) translateX(-50%);
    white-space: nowrap;
}
.hero-meta--right {
    right: calc(var(--pad-x) + 4px); top: 110px;
    display: flex; align-items: center; gap: 10px;
}
.hero-meta--right .dash { width: 24px; height: 1px; background: var(--concrete); }

.hero-stage {
    position: relative;
    z-index: 3;
    flex: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    margin: 0 clamp(0px, 4vw, 60px);
}
@media (max-width: 980px) {
    .hero-stage { grid-template-columns: 1fr; margin: 0; }
    .hero-meta--left, .hero-meta--right { display: none; }
}

.hero-words { padding: 20px 0; }

.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete);
    margin-bottom: 30px;
    opacity: 0;
    animation: rise .9s .1s cubic-bezier(.5,.05,.3,1) forwards;
}
.kicker-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--terra);
    box-shadow: 0 0 0 3px rgba(185, 78, 42, 0.16);
    animation: blink 2.4s ease-in-out infinite;
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(56px, 11vw, 156px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 36px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hl-row { display: block; opacity: 0; transform: translateY(28px); }
.hl-row--1 { animation: rise .9s .25s cubic-bezier(.5,.05,.3,1) forwards; }
.hl-row--2 { animation: rise .9s .42s cubic-bezier(.5,.05,.3,1) forwards; padding-left: 0.6em; }
.hl-row--3 { animation: rise .9s .59s cubic-bezier(.5,.05,.3,1) forwards; }
.hl-row--2 em {
    font-style: italic;
    color: var(--terra);
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-deck {
    max-width: 540px;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 36px;
    opacity: 0;
    animation: rise .9s .75s cubic-bezier(.5,.05,.3,1) forwards;
}
.hero-deck strong { color: var(--ink); font-weight: 600; }

.hero-actions {
    display: flex; gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    opacity: 0;
    animation: rise .9s .9s cubic-bezier(.5,.05,.3,1) forwards;
}

.hero-spec {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--rule);
    padding-top: 22px;
    opacity: 0;
    animation: rise .9s 1.05s cubic-bezier(.5,.05,.3,1) forwards;
}
.hero-spec dt {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete);
    margin-bottom: 6px;
}
.hero-spec dd {
    font-family: var(--f-display);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 500;
    line-height: 1.2;
}
@media (max-width: 640px) {
    .hero-spec { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: rise 1.1s .35s cubic-bezier(.5,.05,.3,1) forwards;
}
.hi-frame {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--rad);
    background: var(--ink);
}
.hi-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.85);
    transform: scale(1.04);
    animation: zoom 8s ease-in-out infinite alternate;
}
@keyframes zoom { to { transform: scale(1.12); } }
.hi-tint {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(28, 25, 22, 0.1) 0%, rgba(185, 78, 42, 0.18) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.hi-grain {
    position: absolute; inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(0,0,0,0.4) 1px, transparent 1px);
    background-size: 2.5px 2.5px;
    opacity: 0.18;
    mix-blend-mode: overlay;
}
.hi-tag {
    position: absolute;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--paper);
    background: rgba(28, 25, 22, 0.75);
    padding: 6px 10px;
    backdrop-filter: blur(4px);
}
.hi-tag--tl { top: 16px; left: 16px; }
.hi-tag--br { bottom: 16px; right: 16px; }

.hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--concrete);
    z-index: 4;
}
.hero-scroll svg { animation: scrollDown 1.8s ease-in-out infinite; }
@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(4px); opacity: 0.5; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--terra); transform: translateY(-1px); }
.btn--primary svg { transition: transform .3s ease; }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; justify-content: center; padding: 16px; }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
    background: var(--ink);
    color: var(--paper);
    padding: 22px 0;
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    position: relative;
}
.ticker::before, .ticker::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; width: 80px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.ticker-track { display: flex; }
.ticker-inner {
    display: flex;
    gap: 30px;
    align-items: center;
    white-space: nowrap;
    font-family: var(--f-display);
    font-size: clamp(22px, 3.4vw, 38px);
    font-weight: 400;
    font-style: italic;
    animation: tick 38s linear infinite;
    padding-right: 30px;
}
.ticker-inner span:not(.t-spark) { color: var(--paper); }
.t-spark {
    color: var(--terra);
    font-style: normal;
    font-size: 0.6em;
    transform: translateY(-0.15em);
}
@keyframes tick {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================================================
   REPÈRES
   ========================================================================== */
.repere {
    background: var(--paper-deep);
    padding: clamp(60px, 7vw, 100px) 0;
    border-bottom: 1px solid var(--rule);
}
.repere-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.repere-item {
    background: var(--paper-deep);
    padding: clamp(24px, 3vw, 40px);
    display: flex; flex-direction: column; gap: 16px;
    transition: background .3s ease;
}
.repere-item:hover { background: var(--paper-soft); }
.repere-num {
    font-family: var(--f-display);
    font-size: clamp(54px, 7vw, 96px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
}
.rn-slash { color: var(--terra); margin: 0 0.05em; }
.rn-pre { font-style: italic; }
.repere-lbl {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--concrete);
    line-height: 1.5;
}
@media (max-width: 800px) { .repere-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .repere-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SECTIONS — common
   ========================================================================== */
.section { padding: var(--pad-y) 0; position: relative; }

.sec-head { margin-bottom: clamp(40px, 5vw, 80px); max-width: 900px; }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: end;
}
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; align-items: start; } }

.sec-num {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 22px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rule);
}
.sec-title {
    font-family: var(--f-display);
    font-size: clamp(40px, 6.4vw, 92px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 40;
}
.sec-title em {
    font-style: italic;
    color: var(--terra);
    font-variation-settings: "opsz" 144, "SOFT" 60;
}
.sec-title-tail { display: inline-block; padding-left: 0.4em; }

.sec-deck { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 460px; }
.sec-deck--center { margin: 22px auto 0; }

/* ==========================================================================
   MANIFESTE
   ========================================================================== */
.manifeste { background: var(--paper); }
.manifeste-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}
@media (max-width: 900px) { .manifeste-grid { grid-template-columns: 1fr; } }

.manifeste-text .lede {
    font-family: var(--f-display);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 24px;
    font-variation-settings: "opsz" 60;
}
.manifeste-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 18px;
    max-width: 60ch;
}
.manifeste-text p strong { color: var(--ink); font-weight: 600; }
.manifeste-text p em { color: var(--terra); font-style: italic; }

.manifeste-creed {
    list-style: none;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
.manifeste-creed li {
    display: flex;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-soft);
    align-items: baseline;
}
.manifeste-creed li:last-child { border-bottom: 0; }
.creed-num {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--terra);
    letter-spacing: 0.1em;
    min-width: 30px;
}
.manifeste-creed li span:not(.creed-num) {
    font-family: var(--f-display);
    font-size: clamp(18px, 1.5vw, 22px);
    font-style: italic;
    color: var(--ink);
}

.manifeste-card {
    position: sticky; top: 100px;
    background: var(--paper-soft);
    border: 1px solid var(--rule);
    padding: 18px;
}
.mc-photo {
    aspect-ratio: 5/4;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--ink);
    position: relative;
}
.mc-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.15) contrast(1.05);
}
.mc-photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(28,25,22,0.4) 100%);
}
.mc-meta-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 13px;
}
.mc-meta-row:last-child { border-bottom: 0; }
.mc-k {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--concrete);
}
.mc-v {
    font-family: var(--f-display);
    font-size: 14px;
    color: var(--ink);
    text-align: right;
}
.mc-v em { color: var(--terra); }
.mc-stamp {
    position: absolute;
    top: -10px; right: 18px;
    background: var(--terra);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    padding: 4px 10px;
}

/* ==========================================================================
   DOMAINES
   ========================================================================== */
.domaines {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.domaines .sec-num { color: var(--ochre); border-bottom-color: rgba(239, 230, 214, 0.18); }
.domaines .sec-title { color: var(--paper); }
.domaines .sec-title em { color: var(--ochre); }
.domaines .sec-deck { color: var(--concrete-2); }

.domaine {
    display: grid;
    grid-template-columns: 80px 1.2fr 1.5fr auto;
    gap: clamp(24px, 4vw, 60px);
    align-items: start;
    padding: clamp(40px, 5vw, 70px) 0;
    border-top: 1px solid rgba(239, 230, 214, 0.16);
    position: relative;
    transition: background .35s ease;
}
.domaine:last-child { border-bottom: 1px solid rgba(239, 230, 214, 0.16); }
.domaine:hover { background: rgba(239, 230, 214, 0.025); }
.dom-num {
    font-family: var(--f-display);
    font-size: clamp(56px, 6vw, 90px);
    font-weight: 400;
    font-style: italic;
    line-height: 0.85;
    color: var(--terra);
    font-variation-settings: "opsz" 144, "SOFT" 80;
}
.dom-title h3 {
    font-family: var(--f-display);
    font-size: clamp(34px, 4.4vw, 60px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.dom-tag {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ochre);
}
.dom-desc {
    color: var(--paper-deep);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.dom-list { list-style: none; }
.dom-list li {
    padding: 10px 0;
    border-top: 1px solid rgba(239, 230, 214, 0.12);
    font-size: 14px;
    color: var(--paper);
    position: relative;
    padding-left: 22px;
}
.dom-list li::before {
    content: "→";
    position: absolute; left: 0; top: 10px;
    color: var(--terra);
    font-family: var(--f-mono);
}
.dom-cta {
    display: inline-flex; align-self: end;
    font-family: var(--f-display);
    font-style: italic;
    font-size: 18px;
    color: var(--ochre);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .25s ease, transform .25s ease;
    white-space: nowrap;
}
.dom-cta:hover { color: var(--paper); transform: translateX(4px); }

@media (max-width: 1100px) {
    .domaine {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto auto;
    }
    .dom-title { grid-column: 2; }
    .dom-num { grid-column: 1; grid-row: 1 / 3; }
    .dom-desc, .dom-list, .dom-cta { grid-column: 1 / -1; }
    .dom-cta { justify-self: start; align-self: start; }
}

/* ==========================================================================
   MÉTHODE
   ========================================================================== */
.methode { background: var(--paper-soft); }
.methode-list { list-style: none; max-width: 920px; margin: 0 auto; }
.met-step {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: clamp(20px, 3vw, 40px);
    align-items: baseline;
    padding: clamp(24px, 3vw, 36px) 0;
    border-top: 1px solid var(--rule);
    position: relative;
    transition: padding .35s ease;
}
.met-step:last-child { border-bottom: 1px solid var(--rule); }
.met-step:hover { padding-left: 12px; }
.met-num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--terra);
    line-height: 1;
    font-variation-settings: "opsz" 144;
}
.met-body h3 {
    font-family: var(--f-display);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}
.met-body p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
    max-width: 60ch;
}
.met-time {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--concrete);
    white-space: nowrap;
}
@media (max-width: 700px) {
    .met-step { grid-template-columns: 50px 1fr; grid-template-rows: auto auto; }
    .met-time { grid-column: 2; font-size: 10px; }
}

/* ==========================================================================
   CHANTIERS
   ========================================================================== */
.chantiers { background: var(--paper); }

.filtres {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-self: end;
}
.filtre {
    padding: 8px 16px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-soft);
    transition: all .25s ease;
}
.filtre:hover { border-color: var(--ink); color: var(--ink); }
.filtre.is-active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.chantiers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(0, auto);
    grid-auto-flow: dense;
    gap: 18px;
    margin-bottom: 30px;
}
.chantier {
    grid-column: span 2;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    transition: opacity .4s ease, transform .4s ease;
}
.chantier--xl   { grid-column: span 4; grid-row: span 2; }
.chantier--wide { grid-column: span 6; }
.chantier.is-hidden { display: none; }
.ch-img { aspect-ratio: 4/3; overflow: hidden; height: 100%; }
.chantier--xl .ch-img { aspect-ratio: 1/1; }
.chantier--wide .ch-img { aspect-ratio: 16/8; }
.ch-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.6,.05,.4,1), filter .8s ease;
    filter: contrast(1.05) saturate(0.9);
}
.chantier:hover .ch-img img {
    transform: scale(1.08);
    filter: contrast(1.05) saturate(1);
}
.chantier figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(28,25,22,0.85) 70%);
    color: var(--paper);
}
.ch-num {
    display: block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 8px;
}
.chantier h4 {
    font-family: var(--f-display);
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 4px;
}
.ch-tag {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--concrete-2);
}

@media (max-width: 1000px) {
    .chantiers-grid { grid-template-columns: repeat(4, 1fr); }
    .chantier { grid-column: span 2; }
    .chantier--xl   { grid-column: span 4; grid-row: auto; }
    .chantier--wide { grid-column: span 4; }
}
@media (max-width: 600px) {
    .chantiers-grid { grid-template-columns: 1fr; }
    .chantier, .chantier--xl, .chantier--wide { grid-column: span 1; }
}

.chantiers-note {
    display: flex; align-items: baseline; gap: 12px;
    padding: 18px 22px;
    background: var(--paper-soft);
    border-left: 3px solid var(--terra);
    color: var(--ink-soft);
    font-size: 14px;
    font-style: italic;
    max-width: 720px;
}
.note-arrow { font-family: var(--f-mono); color: var(--terra); font-style: normal; }

/* ==========================================================================
   TERRITOIRE
   ========================================================================== */
.territoire { background: var(--paper-deep); }
.territoire-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
}
@media (max-width: 900px) { .territoire-grid { grid-template-columns: 1fr; } }

.territoire-text .lede {
    font-family: var(--f-display);
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.45;
    margin-bottom: 32px;
    color: var(--ink);
}
.territoire-text .lede strong { color: var(--terra); font-style: italic; font-weight: 500; }

.zones {
    display: flex; flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rule);
}
.zone-block {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
    transition: padding-left .35s ease;
}
.zone-block:hover { padding-left: 12px; }
.zone-card {
    width: 52px; height: 52px;
    background: var(--ink);
    color: var(--paper);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.zone-block:nth-child(1) .zone-card { background: var(--terra); }
.zone-block:nth-child(2) .zone-card { background: var(--ochre); color: var(--ink); }
.zone-block:nth-child(3) .zone-card { background: var(--sea); }

.zone-body { min-width: 0; }
.zone-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--rule);
}
.zone-block h4 {
    font-family: var(--f-display);
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.015em;
}
.zone-count {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete);
}

.zone-cities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 6px;
}
.zone-cities li {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: var(--paper-soft);
    border: 1px solid var(--rule);
    padding: 7px 12px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    cursor: default;
}
.zone-cities li:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    transform: translateY(-1px);
}
.zone-block:nth-child(1) .zone-cities li:hover { background: var(--terra); border-color: var(--terra); }
.zone-block:nth-child(2) .zone-cities li:hover { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.zone-block:nth-child(3) .zone-cities li:hover { background: var(--sea); border-color: var(--sea); }

@media (max-width: 600px) {
    .zone-block { grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; }
    .zone-card { width: 44px; height: 44px; font-size: 18px; }
    .zone-cities li { font-size: 11px; padding: 6px 10px; }
}

.tm-frame {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ink);
    border: 1px solid var(--rule);
}
.tm-frame iframe {
    width: 100%; height: 100%;
    filter: grayscale(0.4) sepia(0.15);
}
.tm-tag {
    position: absolute;
    z-index: 2;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--paper-soft);
    color: var(--ink);
    padding: 6px 10px;
    border: 1px solid var(--rule);
}
.tm-tag--tl { top: 14px; left: 14px; }
.tm-tag--br {
    bottom: 14px; right: 14px;
    background: var(--terra);
    color: var(--paper);
    border-color: var(--terra);
}

/* ==========================================================================
   ENGAGEMENTS
   ========================================================================== */
.engagements {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
    position: relative;
}
.eng-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-bottom: 60px;
}
.eng-card {
    background: var(--paper-soft);
    padding: clamp(28px, 3vw, 40px);
    transition: background .35s ease;
}
.eng-card:hover { background: var(--paper); }
.eng-num {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--terra);
    margin-bottom: 24px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--terra);
}
.eng-card h4 {
    font-family: var(--f-display);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.15;
}
.eng-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 900px) { .eng-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .eng-grid { grid-template-columns: 1fr; } }

.eng-cta {
    display: flex; flex-direction: column; align-items: center; gap: 22px;
    text-align: center;
}
.eng-cta p {
    font-family: var(--f-display);
    font-size: clamp(22px, 2.5vw, 32px);
    font-style: italic;
    color: var(--ink);
    max-width: 640px;
    line-height: 1.3;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--paper); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
    background: var(--paper-soft);
    border: 1px solid var(--rule);
    padding: clamp(24px, 3vw, 40px);
    position: relative;
}
.form-meta {
    display: flex; justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--concrete);
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }

.form-group label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule);
    padding: 10px 0;
    font-family: var(--f-display);
    font-size: 17px;
    font-weight: 400;
    color: var(--ink);
    width: 100%;
    transition: border-color .25s ease;
    border-radius: 0;
}
.form-group select { font-family: var(--f-body); font-size: 15px; }
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.55;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--terra);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--concrete-2); }

.error-message {
    color: var(--terra);
    font-size: 11px;
    font-family: var(--f-mono);
    letter-spacing: 0.06em;
    margin-top: 6px;
    min-height: 14px;
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-display);
    font-style: italic;
    font-size: 16px;
    align-items: center; gap: 12px;
}
.form-success span {
    background: var(--ochre);
    color: var(--ink);
    width: 26px; height: 26px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-style: normal;
    font-family: var(--f-body);
    font-weight: 600;
}
.form-success.is-shown { display: flex; }

.contact-form .btn { margin-top: 12px; }

.contact-card {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(28px, 3vw, 40px);
    position: sticky;
    top: 100px;
}
.cc-block { padding: 18px 0; border-bottom: 1px solid rgba(239, 230, 214, 0.14); }
.cc-block:first-child { padding-top: 0; }
.cc-block:last-child { border-bottom: 0; }
.cc-k {
    display: block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 10px;
}
.cc-block p {
    font-family: var(--f-display);
    font-size: 18px;
    line-height: 1.45;
    color: var(--paper);
}
.cc-block a {
    border-bottom: 1px solid currentColor;
    transition: color .25s ease;
}
.cc-block a:hover { color: var(--ochre); }
.cc-block--coord p {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 5vw, 80px);
    padding-bottom: 60px;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }

.ft-brand { display: flex; flex-direction: column; gap: 22px; max-width: 360px; }
.ft-logo {
    width: 56px; height: 56px;
    background: var(--paper);
    color: var(--ink);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.ft-logo::after {
    content: "CB";
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 500;
}
.ft-logo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.ft-slogan {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--paper);
}
.ft-slogan em { color: var(--ochre); font-style: italic; }

.ft-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 600px) { .ft-nav { grid-template-columns: 1fr 1fr; } }

.ft-nav h5 {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(239, 230, 214, 0.14);
}
.ft-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-nav li { font-size: 14px; color: var(--paper-deep); }
.ft-nav a { transition: color .25s ease; }
.ft-nav a:hover { color: var(--terra); }

.ft-mark {
    display: flex;
    justify-content: center;
    line-height: 0.85;
    padding: 30px 0 20px;
    user-select: none;
    overflow: hidden;
}
.ft-mark-text {
    font-family: var(--f-display);
    font-size: clamp(80px, 18vw, 240px);
    font-weight: 300;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px var(--paper-deep);
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.ft-mark-text--ital em {
    font-style: italic;
    -webkit-text-stroke: 1px var(--ochre);
    font-variation-settings: "opsz" 144, "SOFT" 100;
    margin-left: 0.05em;
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(239, 230, 214, 0.16);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--concrete-2);
}
.ft-bottom-meta { display: inline-flex; gap: 12px; align-items: center; }
.ft-bottom-meta .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--terra);
}
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 12px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    box-shadow:
        0 14px 30px rgba(28, 25, 22, 0.22),
        0 2px 8px rgba(28, 25, 22, 0.12);
    transition: background .3s ease, transform .3s ease, padding .3s ease;
}
.wa-float:hover {
    background: var(--terra);
    transform: translateY(-2px);
}
.wa-icon {
    width: 38px; height: 38px;
    background: #25d366;
    color: var(--ink);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex: none;
    position: relative;
    transition: transform .3s ease;
}
.wa-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(37, 211, 102, 0.45);
    animation: waPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes waPing {
    0%   { transform: scale(0.9); opacity: 0.9; }
    80%, 100% { transform: scale(1.5); opacity: 0; }
}
.wa-float:hover .wa-icon { transform: rotate(-8deg); }
.wa-text { display: flex; flex-direction: column; line-height: 1; }
.wa-meta {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 4px;
    transition: color .3s ease;
}
.wa-float:hover .wa-meta { color: var(--paper); }
.wa-cta {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 15px;
    color: var(--paper);
}

@media (max-width: 600px) {
    .wa-float {
        padding: 6px;
        gap: 0;
    }
    .wa-text { display: none; }
    .wa-icon { width: 44px; height: 44px; }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-top {
    position: fixed;
    right: 18px; bottom: 80px;
    z-index: 50;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease, background .25s ease, bottom .35s ease;
}
.back-top.is-shown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-top:hover { background: var(--terra); }

@media (max-width: 600px) {
    .back-top { bottom: 70px; right: 12px; padding: 8px 12px; font-size: 9px; }
    .back-top span { display: none; }
}

/* ==========================================================================
   REVEAL ANIM
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.5,.05,.3,1), transform .9s cubic-bezier(.5,.05,.3,1);
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   A11Y / MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ticker-inner { animation: none; }
}

:focus-visible {
    outline: 2px solid var(--terra);
    outline-offset: 3px;
    border-radius: 2px;
}
