/* ========================================================
 * Axis · Landing page styles
 * Brand: seashell paper, plum ink, cold-Ardennes calm.
 * Type: Cormorant Garamond (display) · Manrope (body)
 * Palette (Axis brandbook):
 *   Plum #490B1A · Pale Blue #E8F0FA · Misty Rose #FFE4E1 · Seashell #FFF5EE
 * ======================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-paper: #FFF5EE;        /* Seashell — main surface */
  --c-paper-blue: #E8F0FA;   /* Pale Blue — alternate surface */
  --c-paper-rose: #FFEFEC;   /* soft Misty Rose tint — alternate surface */
  --c-rose: #FFE4E1;         /* Misty Rose — brand primary pink (nav + footer) */
  --c-rose-line: #EBC6C1;    /* plum-tinted hairline for borders on rose */
  --c-plum: #490B1A;
  --c-plum-deep: #340812;
  --c-ink: #490B1A;
  --c-ink-soft: #5c2230;
  --c-ink-mute: #7A4A52;
  --c-ink-faint: #A3737A;
  --c-line: #E4CCC8;         /* soft rose hairline */
  --c-line-soft: #EFDCD8;
  --c-accent: #490B1A;       /* plum — fills */
  --c-accent-soft: #A3737A;  /* rose — lines, hovers */
  --c-onplum: #FFF5EE;       /* seashell text on plum */
  /* Legibility for light text over the dark hero image (no extra veil needed) */
  --hero-text-shadow: 0 1px 2px rgba(35,6,13,.55), 0 2px 22px rgba(35,6,13,.45);

  /* Typography */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --w-max: 1320px;
  --w-prose: 640px;
  --pad-x: clamp(24px, 5vw, 80px);
  --pad-y: clamp(80px, 12vw, 170px);

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-out-soft: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 300;
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; margin: 0; padding: 0; }
input, textarea, button { font-family: inherit; }
::selection { background: var(--c-plum); color: var(--c-onplum); }

/* ---------- Preview banner (visible only when ?preview=1) ---------- */
.preview-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 18px;
  background: var(--c-plum); color: var(--c-onplum);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.preview-banner--draft { background: #8a5a12; color: #fff; }
.preview-banner--draft .preview-banner__dot { background: #fff; }
.preview-banner[hidden], .form-success[hidden], .form-error[hidden] { display: none !important; }
.preview-banner__dot { width: 8px; height: 8px; background: var(--c-accent-soft); border-radius: 50%; animation: previewPulse 1.6s ease-in-out infinite; }
.preview-banner__exit { color: rgba(255,245,238,.65); text-decoration: underline; font-weight: 400; letter-spacing: .08em; text-transform: none; }
.preview-banner__exit:hover { color: #fff; }
body.has-preview-banner .nav { top: 36px; }
@keyframes previewPulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .5; transform: scale(.85);} }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: transparent; z-index: 100; pointer-events: none; }
.scroll-progress__fill { display: block; height: 100%; width: 0; background: var(--c-plum); transform-origin: left center; transition: width 60ms linear; }

/* ---------- Top nav ----------
 * Solid Misty Rose bar (brand primary pink) with plum ink — keeps the Axis
 * wordmark and menu highly legible at all times, over the dark hero below. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  background: var(--c-rose);
  border-bottom: 1px solid var(--c-rose-line);
  transition: padding .4s var(--ease-out), box-shadow .4s var(--ease-out);
  --nav-fg: var(--c-plum);
  color: var(--nav-fg);
}
.nav.is-scrolled {
  padding: 12px var(--pad-x);
  box-shadow: 0 10px 30px -20px rgba(73,11,26,.5);
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 34px; width: auto; transition: height .4s var(--ease-out); }
/* Rose bar carries plum ink → always show the plum wordmark. */
.nav__logo--light { display: none; }
.nav__logo--dark { display: block; }
.nav.is-scrolled .nav__logo--dark { height: 30px; }
@media (max-width: 640px) {
  .nav__logo--dark { height: 28px; }
  .nav.is-scrolled .nav__logo--dark { height: 26px; }
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--nav-fg); position: relative; padding: 8px 0; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .4s var(--ease-out-soft); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__cta {
  font-weight: 600; padding: 9px 20px; letter-spacing: .18em;
  background: var(--c-plum); color: var(--c-onplum);
  transition: background-color .3s var(--ease-out-soft);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--c-plum-deep); }
@media (max-width: 640px) {
  .nav { padding-left: 20px; padding-right: 20px; }
  .nav__links { gap: 16px; }
  .nav__link:not(.nav__cta) { display: none; }
  .nav__cta { font-size: 10px; letter-spacing: .1em; padding: 8px 16px; }
}

/* ============================================ */
/* HERO — full render with slow scroll-zoom      */
/* ============================================ */
.hero {
  position: relative;
  height: 200vh;             /* tall enough to drive the zoom scrub */
  width: 100%;
  color: var(--c-onplum);
  background: var(--c-plum-deep);
}
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  width: 100%; overflow: hidden;
  display: grid; place-items: center;
  padding: var(--pad-x); box-sizing: border-box;
}
.hero__media { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero__image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06); transform-origin: center;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,6,13,.58) 0%, rgba(35,6,13,.28) 42%, rgba(35,6,13,.72) 100%);
}
.hero__vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 55%, transparent 42%, rgba(35,6,13,.5) 100%); }

.hero__content {
  position: relative; z-index: 2; text-align: center;
  max-width: 1100px; padding: 72px 0;
  display: flex; flex-direction: column; align-items: center;
  will-change: transform, opacity;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 11px; letter-spacing: .5em; text-transform: uppercase; font-weight: 600;
  color: #FFF5EE; margin: 0 0 34px; text-shadow: var(--hero-text-shadow);
  opacity: 0; transform: translateY(8px); animation: fadeUp .9s var(--ease-out-soft) .2s forwards;
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ''; display: inline-block; width: 30px; height: 1px; background: rgba(255,245,238,.85); }

.hero__title { display: flex; justify-content: center; align-items: center; margin: 0 0 30px; line-height: 1; }
.hero__logo {
  width: clamp(260px, 46vw, 620px); height: auto; display: block;
  opacity: 0; transform: translateY(20px); animation: heroIn 1.4s var(--ease-out-soft) .35s forwards;
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero__tagline {
  font-family: var(--f-display); font-weight: 500; font-style: italic;
  font-size: clamp(19px, 2.2vw, 29px); letter-spacing: .01em;
  color: #FFF5EE; margin: 0 0 44px; text-align: center; text-shadow: var(--hero-text-shadow);
  opacity: 0; transform: translateY(12px); animation: fadeUp 1s var(--ease-out-soft) .9s forwards;
}
.hero__cta {
  display: inline-block; padding: 17px 38px; font-weight: 600;
  border: 1.5px solid rgba(255,245,238,.9);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--c-onplum);
  text-shadow: var(--hero-text-shadow);
  position: relative; overflow: hidden; transition: color .5s var(--ease-out-soft), text-shadow .5s;
  opacity: 0; transform: translateY(12px); animation: fadeUp 1s var(--ease-out-soft) 1.1s forwards;
}
.hero__cta:hover { text-shadow: none; }
.hero__cta::before { content: ''; position: absolute; inset: 0; background: var(--c-onplum); transform: translateY(100%); transition: transform .5s var(--ease-out-soft); z-index: -1; }
.hero__cta:hover { color: var(--c-plum); border-color: var(--c-onplum); }
.hero__cta:hover::before { transform: translateY(0); }

.hero__scroll-hint {
  position: absolute; bottom: 30px; left: 0; right: 0; margin: 0 auto; width: max-content; z-index: 3;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  color: #FFF5EE; opacity: 0; animation: fadeUp 1.2s var(--ease-out-soft) 1.4s forwards;
}
.hero__scroll-text { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; font-weight: 500; text-shadow: var(--hero-text-shadow); }
.hero__scroll-line { position: relative; display: block; width: 1px; height: 54px; background: rgba(255,245,238,.28); overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -54px; left: 0; width: 100%; height: 54px; background: linear-gradient(to bottom, transparent, var(--c-onplum)); animation: scrollLine 2.2s var(--ease-out-soft) infinite; }
@keyframes scrollLine { 0% { transform: translateY(0);} 50% { transform: translateY(54px);} 100% { transform: translateY(108px);} }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================ */
/* Section heads                                 */
/* ============================================ */
.section-head { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x); display: flex; flex-direction: column; gap: 26px; }
.section-head--center { align-items: center; text-align: center; }
.section-head__label {
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--c-ink-mute);
  display: inline-flex; align-items: center; gap: 14px;
}
.section-head__label::before { content: ''; width: 30px; height: 1px; background: var(--c-accent-soft); }

/* ============================================ */
/* BLOK B · INTRO                                */
/* ============================================ */
.intro { padding: var(--pad-y) 0 clamp(56px,8vw,90px); background: var(--c-paper); }
.intro__copy { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px,6vw,96px); align-items: start; }
.intro__heading {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 62px); letter-spacing: .002em; line-height: 1.14;
  margin: 0; color: var(--c-plum); max-width: 15ch;
}
.intro__body { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.85; color: var(--c-ink-soft); max-width: 58ch; margin: 8px 0 0; }
.intro__body strong { font-weight: 600; color: var(--c-plum); }
@media (max-width: 880px) { .intro__copy { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Stats row (the three wireframe columns) ---- */
.stats {
  max-width: var(--w-max); margin: clamp(56px,8vw,96px) auto 0; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,4vw,64px);
}
.stat { padding-top: 26px; border-top: 1px solid var(--c-line); }
.stat__value {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: var(--c-plum); margin: 0 0 14px;
}
.stat__label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--c-ink-mute); margin: 0; line-height: 1.5; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; gap: 0; } .stat { padding: 24px 0; } .stat + .stat { border-top: 1px solid var(--c-line); } }

/* ============================================ */
/* VISUEL 3D — large image block                 */
/* ============================================ */
.visuel { padding: 0 0 var(--pad-y); background: var(--c-paper); }
.visuel__frame { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x); }
.visuel__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-paper-blue); }
.visuel__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.visuel__caption { margin: 20px auto 0; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-ink-faint); text-align: center; }
@media (max-width: 720px) { .visuel__media { aspect-ratio: 4 / 3; } }

/* ============================================ */
/* INTERLUDE (parallax quote band)               */
/* ============================================ */
.interlude { position: relative; min-height: 56vh; overflow: hidden; color: var(--c-onplum); display: grid; place-items: center; }
.interlude__bg { position: absolute; inset: -12% 0 -12% 0; background-size: cover; background-position: center; will-change: transform; }
.interlude__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,6,13,.5), rgba(35,6,13,.62)); }
.interlude__quote { position: relative; z-index: 2; text-align: center; padding: 64px var(--pad-x); max-width: min(92vw, 760px); margin: 0 auto; }
.interlude__rule { display: inline-block; width: 56px; height: 1px; background: rgba(255,245,238,.6); }
.interlude__quote p { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.28; margin: 26px 0 0; }

/* ============================================ */
/* BLOK C · FORM                                 */
/* ============================================ */
/* Inverted colorway: light page surface, bordeaux (plum) form card, light controls.
   --onplum-mute / --onplum-line are readable light tones layered on the plum card. */
.form-section { padding: clamp(48px,6vh,80px) var(--pad-x); background: var(--c-plum); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.form-card {
  --onplum-mute: rgba(255,245,238,.72);
  --onplum-line: rgba(255,245,238,.30);
  --onplum-faint: rgba(255,245,238,.50);
  width: 100%; max-width: var(--w-max); margin: 0 auto; padding: clamp(30px,3.4vw,60px); background: var(--c-plum); position: relative; box-shadow: 0 40px 90px -60px rgba(73,11,26,.55);
}
.form-card__heading { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px,3.2vw,42px); line-height: 1.1; color: var(--c-onplum); margin: 0 0 10px; }
.form-card__sub { font-size: 15px; color: var(--onplum-mute); margin: 0 0 26px; max-width: 52ch; }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; gap: clamp(20px,2.4vw,40px); }
.form__row--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row--two { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; }
.form__field--choices { gap: 0; }
/* <legend> ignores flex gap, so space the label from its chips with an explicit margin */
.form__field--choices > .form__label { margin-bottom: 18px; }
.form__label { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--onplum-mute); font-weight: 500; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  border: 0; border-bottom: 1px solid var(--onplum-line); background: transparent;
  padding: 10px 0 12px; font-size: 15px; color: var(--c-onplum);
  transition: border-color .3s var(--ease-out-soft); outline: none; font-family: inherit; resize: vertical;
}
.form input:focus, .form textarea:focus { border-bottom-color: var(--c-onplum); }
.form input::placeholder, .form textarea::placeholder { color: var(--onplum-faint); opacity: 1; }
.form input:-webkit-autofill, .form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--c-onplum);
  -webkit-box-shadow: 0 0 0 1000px var(--c-plum) inset;
  caret-color: var(--c-onplum);
}
.form textarea { min-height: 84px; line-height: 1.55; }

.form__choices { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border: 1px solid var(--onplum-line); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--onplum-mute); cursor: pointer; transition: all .3s var(--ease-out-soft); user-select: none;
}
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip:hover { border-color: var(--c-onplum); color: var(--c-onplum); }
.chip:has(input:checked) { background: var(--c-onplum); color: var(--c-plum); border-color: var(--c-onplum); }

.form__consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--onplum-mute); cursor: pointer; line-height: 1.5; }
.form__consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 16px; height: 16px;
  border: 1px solid var(--onplum-line); border-radius: 0; margin-top: 2px; flex-shrink: 0; position: relative; cursor: pointer; transition: all .25s;
}
.form__consent input[type="checkbox"]:checked { background: var(--c-onplum); border-color: var(--c-onplum); }
.form__consent input[type="checkbox"]:checked::after { content: ''; position: absolute; inset: 2px; background: var(--c-plum); clip-path: polygon(20% 50%, 40% 70%, 80% 25%, 70% 15%, 40% 50%, 30% 40%); }

.form__submit {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 38px; background: var(--c-onplum); color: var(--c-plum); border: 0;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  position: relative; overflow: hidden; transition: color .4s var(--ease-out-soft); margin-top: 8px;
}
.form__submit svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out-soft); }
.form__submit::before { content: ''; position: absolute; inset: 0; background: var(--c-rose); transform: translateX(-100%); transition: transform .5s var(--ease-out-soft); }
.form__submit span, .form__submit svg { position: relative; z-index: 1; }
.form__submit:hover { color: var(--c-plum-deep); }
.form__submit:hover::before { transform: translateX(0); }
.form__submit:hover svg { transform: translateX(4px); }
.form__submit:disabled { opacity: .55; cursor: not-allowed; }
.form__submit.is-sending { pointer-events: none; }
.form__submit .form__submit-spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.form__submit.is-sending .form__submit-spinner { display: inline-block; }
.form__submit.is-sending svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success, .form-error { padding: 32px 0 16px; border-top: 1px solid var(--onplum-line); animation: fadeUp .8s var(--ease-out-soft); }
.form-error { border-top-color: #e79a98; }
.form-success__title, .form-error__title { font-family: var(--f-display); font-weight: 300; font-size: 34px; margin: 0 0 8px; color: var(--c-onplum); }
.form-success__body, .form-error__body { color: var(--onplum-mute); margin: 0 0 16px; }
.form-error__retry { background: transparent; border: 1px solid var(--c-onplum); color: var(--c-onplum); padding: 12px 24px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; transition: all .3s var(--ease-out-soft); }
.form-error__retry:hover { background: var(--c-onplum); color: var(--c-plum); }

/* ============================================ */
/* BLOK D · FOOTER                               */
/* ============================================ */
.footer { background: var(--c-rose); padding: 96px var(--pad-x) 40px; position: relative; }
.footer__rule { max-width: var(--w-max); margin: 0 auto 76px; height: 1px; background: var(--c-rose-line); }
.footer__brand { max-width: var(--w-max); margin: 0 auto 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.footer__logo { width: clamp(180px, 26vw, 320px); height: auto; }
.footer__developer { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; color: var(--c-ink-mute); margin: 0; }
.footer__developer-prefix { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.footer__developer-logo { width: clamp(150px, 22vw, 220px); height: auto; }
.footer__developer-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; letter-spacing: .01em; color: inherit; }
.footer__grid { max-width: var(--w-max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; align-items: start; padding-top: 52px; border-top: 1px solid var(--c-rose-line); }
.footer__col p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--c-ink-mute); }
.footer__col a:hover { color: var(--c-plum); }
.footer__col-label { font-size: 10.5px !important; letter-spacing: .3em; text-transform: uppercase; color: var(--c-ink-faint) !important; margin: 0 0 14px !important; line-height: 1 !important; }
.footer__col--social { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer__socials { display: inline-flex; gap: 12px; align-items: center; }
.footer__socials a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--c-rose-line); border-radius: 50%; color: var(--c-ink-mute); transition: all .25s; }
.footer__socials svg { width: 15px; height: 15px; }
.footer__socials a:hover { background: var(--c-plum); border-color: var(--c-plum); color: var(--c-onplum); }
.footer__bottom { max-width: var(--w-max); margin: 60px auto 0; padding-top: 26px; border-top: 1px solid var(--c-rose-line); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; letter-spacing: .1em; color: var(--c-ink-faint); }
.footer__copy { margin: 0; }
.footer__legal a { color: var(--c-ink-faint); text-decoration: none; transition: color .25s; }
.footer__legal a:hover { color: var(--c-plum); }
html.theme-full .footer__legal a, html.theme-plum .footer__legal a { color: rgba(255,245,238,.72); }
html.theme-full .footer__legal a:hover, html.theme-plum .footer__legal a:hover { color: #fff; }
.footer__admin-link { position: fixed; bottom: 8px; right: 8px; width: 16px; height: 16px; font-size: 10px; color: var(--c-ink-faint); opacity: .25; display: grid; place-items: center; z-index: 10; }
.footer__admin-link:hover { opacity: 1; color: var(--c-plum); }
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .footer__col--social { align-items: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* Footer logo variants — dark shown by default, light only in plum footer */
.footer__logo--light, .footer__developer-logo--light { display: none; }

/* ============================================
 * COLORWAY B · "Palette complète" (?theme=full)
 * Nav in Pale Blue, Misty Rose accents, deep-plum footer.
 * ============================================ */
html.theme-full .nav { background: var(--c-paper-blue); border-bottom-color: #CFE0F2; }
/* Rose band around the render — balanced top/bottom padding so it reads as an
 * intentional matted feature, not a stray border. */
html.theme-full .visuel { background: var(--c-rose); padding-top: clamp(48px,7vw,96px); padding-bottom: clamp(48px,7vw,96px); }

/* ============================================
 * COLORWAY C · "Prune" (?theme=plum)
 * Deep-plum nav + footer, seashell wordmark & menu.
 * ============================================ */
html.theme-plum .nav { background: var(--c-plum); border-bottom-color: rgba(255,245,238,.14); --nav-fg: var(--c-onplum); }
html.theme-plum .nav__logo--dark { display: none; }
html.theme-plum .nav__logo--light { display: block; }
html.theme-plum .nav__cta { background: var(--c-onplum); color: var(--c-plum); }
html.theme-plum .nav__cta:hover { background: #fff; }

/* Shared deep-plum footer with light ink (Options B and C) */
html.theme-full .footer,
html.theme-plum .footer { background: var(--c-plum); }
html.theme-full .footer__rule,
html.theme-plum .footer__rule { background: rgba(255,245,238,.16); }
html.theme-full .footer__grid, html.theme-full .footer__bottom,
html.theme-plum .footer__grid, html.theme-plum .footer__bottom { border-top-color: rgba(255,245,238,.16); }
html.theme-full .footer__developer, html.theme-full .footer__col p, html.theme-full .footer__bottom, html.theme-full .footer__copy,
html.theme-plum .footer__developer, html.theme-plum .footer__col p, html.theme-plum .footer__bottom, html.theme-plum .footer__copy { color: rgba(255,245,238,.72); }
html.theme-full .footer__col-label,
html.theme-plum .footer__col-label { color: rgba(255,245,238,.5) !important; }
html.theme-full .footer__col a:hover,
html.theme-plum .footer__col a:hover { color: #fff; }
html.theme-full .footer__socials a,
html.theme-plum .footer__socials a { border-color: rgba(255,245,238,.28); color: rgba(255,245,238,.8); }
html.theme-full .footer__socials a:hover,
html.theme-plum .footer__socials a:hover { background: var(--c-onplum); border-color: var(--c-onplum); color: var(--c-plum); }
html.theme-full .footer__admin-link,
html.theme-plum .footer__admin-link { color: rgba(255,245,238,.4); }
html.theme-full .footer__admin-link:hover,
html.theme-plum .footer__admin-link:hover { color: #fff; }
html.theme-full .footer__logo--dark, html.theme-full .footer__developer-logo--dark,
html.theme-plum .footer__logo--dark, html.theme-plum .footer__developer-logo--dark { display: none; }
html.theme-full .footer__logo--light, html.theme-full .footer__developer-logo--light,
html.theme-plum .footer__logo--light, html.theme-plum .footer__developer-logo--light { display: block; }

/* ============================================ */
/* Reveals                                       */
/* ============================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out-soft), transform .9s var(--ease-out-soft); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal="card"] { transform: translateY(40px); }
.is-visible[data-reveal] { opacity: 1; transform: translateY(0); }
[data-reveal="lines"] { opacity: 1; transform: none; }
[data-reveal="lines"] .reveal-line { display: block; overflow: hidden; padding-bottom: .14em; }
[data-reveal="lines"] .reveal-line__inner { display: block; transform: translateY(110%); transition: transform 1s var(--ease-out-soft); transition-delay: var(--reveal-delay, 0ms); }
.is-visible[data-reveal="lines"] .reveal-line__inner { transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero { height: 100vh; }
}

/* ---- Preview mode (admin "Aperçu") ---- */
.cms-preview:not(.cms-preview-ready) { visibility: hidden; }
.cms-preview [data-reveal] { opacity: 1 !important; transform: none !important; }
.cms-preview [data-reveal="lines"] .reveal-line__inner { transform: none !important; }

/* ---- Cookie consent banner ---- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--c-plum);
  color: var(--c-onplum);
  box-shadow: 0 -12px 40px -18px rgba(35,6,13,.6);
  transform: translateY(100%);
  transition: transform .5s var(--ease-out-soft);
}
.cookie.is-visible { transform: translateY(0); }
.cookie__inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.cookie__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 720px;
  color: var(--c-onplum);
}
.cookie__text a { color: var(--c-onplum); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie__btn {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--c-onplum);
  cursor: pointer;
  transition: background .3s var(--ease-out-soft), color .3s var(--ease-out-soft), opacity .3s;
}
.cookie__btn--ghost { background: transparent; color: var(--c-onplum); }
.cookie__btn--ghost:hover { background: rgba(255,245,238,.12); }
.cookie__btn--solid { background: var(--c-onplum); color: var(--c-plum); }
.cookie__btn--solid:hover { opacity: .85; }

@media (max-width: 640px) {
  .cookie__inner { flex-direction: column; align-items: stretch; padding: 18px 24px 22px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__btn { flex: 1; text-align: center; }
}
