/* ============================================================
   MOOGI — site v2 — base styles
   ============================================================ */

@font-face {
  font-family: 'Safiro';
  src: url('fonts/Safiro-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('fonts/Safiro-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('fonts/Safiro-SemiBold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  /* base palette — catalogue-driven warm cream, teal/coral/purple accents */
  --bg: #F6F1E6;
  --bg-2: #EDE5D2;
  --bg-3: #E4DABF;
  --ink: #1B1B1A;
  --ink-soft: #4A4A45;
  --ink-mute: #8A8478;
  --rule: #D9CFB6;
  --teal: #2C6B70;
  --teal-soft: #D6E3E2;
  --coral: #C25845;
  --coral-soft: #EFD6CB;
  --purple: #5A4B85;
  --purple-soft: #DCD6E8;
  --olive: #7C7654;
  --olive-soft: #E2DCC4;
  --tan: #B89B6F;

  --serif: 'Cormorant Garamond', 'EB Garamond', Garamond, serif;
  --sans: 'Safiro', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: hidden;
}

/* Subtle paper grain — fixed overlay, multiplies over backgrounds */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjAwIDIwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAuNyAwJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
}

/* Make sure real content sits above the grain */
.nav, main, .footer, .marquee, .section-rail { position: relative; z-index: 2; }

/* Custom cursor — voir définition complète et JS plus bas (.cursor) */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}

a { color: inherit; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--teal); color: var(--bg); }

/* layout helpers */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 920px; }

/* type scale */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
}
.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.008em;
  text-wrap: balance;
  margin: 0;
}
/* Catalogue-style ALL CAPS serif title — used for section headers */
.h-cat {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}
.h-cat em { font-style: italic; letter-spacing: 0.01em; text-transform: none; }
.subtitle-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
/* tiny dot ornament — catalogue uses these between subtitle and content */
.dots {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; margin: 22px 0 36px;
}
.dots > .d {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--coral);
  opacity: .55;
  display: block;
}
.dots > .d--accent {
  width: 5px; height: 5px;
  background: var(--teal);
  opacity: .9;
}
.dots > .signet {
  width: 14px; height: 14px;
  opacity: .55;
}
.dots--left { justify-content: flex-start; }
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 0;
}
.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
  margin: 0;
}
.body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
  margin: 0;
}
.italic { font-style: italic; }
.label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 80%, transparent);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max-w); margin: 0 auto;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  gap: 4px;
}
.nav__logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.nav__logo-star {
  font-family: var(--sans);
  font-size: 12px;
  color: #1E2A45;
  line-height: 1;
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: linear-gradient(95deg,
    color-mix(in oklab, var(--teal-soft) 70%, var(--bg)) 0%,
    var(--bg-2) 60%,
    color-mix(in oklab, var(--coral-soft) 70%, var(--bg)) 100%);
  position: relative;
  line-height: 1;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 8%, transparent);
  transition: filter .2s ease;
}
.brand-pill:hover { filter: saturate(1.15) brightness(1.02); }
.bp-x {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
  transform: translateY(-1px);
  letter-spacing: 0;
}
.bp-m {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1;
}
.bp-a {
  position: absolute;
  top: 3px;
  right: 9px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
}
/* Signet (×) — tintable mask of the real brand mark, blends on any background */
.signet {
  display: inline-block;
  vertical-align: middle;
  background-color: var(--ink-mute);
  -webkit-mask-image: url('moogi-signet-mask.png');
  mask-image: url('moogi-signet-mask.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.signet--sm { width: 12px; height: 12px; }
.signet--md { width: 18px; height: 18px; }
.signet--lg { width: 36px; height: 36px; }
.nav__links {
  display: flex; gap: 30px;
  font-family: var(--sans); font-size: 14px; font-weight: 400;
}
.nav__links a {
  text-decoration: none; color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav__links a:hover { border-color: var(--ink); }
.nav__cta {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  background: var(--ink); color: var(--bg);
  padding: 11px 18px; border-radius: 999px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s ease, transform .2s ease;
}
.nav__cta:hover { background: var(--teal); }
.nav__cta::after {
  content: "→";
  font-size: 14px;
  transition: transform .25s ease;
}
.nav__cta:hover::after { transform: translateX(3px); }

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* buttons */
.btn {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer;
  transition: all .25s ease;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--teal); }
.btn--primary::after, .btn--ghost::after {
  content: "→"; transition: transform .25s ease;
}
.btn--primary:hover::after { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--ghost:hover::after { transform: translateX(4px); }
/* filled navy that turns light on hover */
.btn--navy {
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
}
.btn--navy::after { content: "→"; transition: transform .25s ease; }
.btn--navy:hover { background: var(--bg); color: var(--ink); }
.btn--navy:hover::after { transform: translateX(4px); }
/* sauge — identité de l'application */
.btn--sauge {
  background: var(--teal); color: var(--bg);
  border: 1px solid var(--teal);
}
.btn--sauge::after { content: "→"; transition: transform .25s ease; }
.btn--sauge:hover { background: var(--bg); color: var(--teal); }
.btn--sauge:hover::after { transform: translateX(4px); }
.btn__signet {
  width: 14px; height: 14px;
  filter: invert(1) brightness(2);
  flex: 0 0 14px;
}
.btn--sauge:hover .btn__signet { filter: none; }

/* shared section pacing */
.section {
  padding: clamp(90px, 11vw, 180px) 0;
}
.section--tight { padding: clamp(60px, 7vw, 110px) 0; }
.section--cream-2 { background: var(--bg-2); }
.section--cream-2-alt { background: var(--bg-2-alt, var(--bg-2)); }

.section__eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.section__eyebrow .num {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.section__eyebrow .rule {
  flex: 0 0 40px; height: 1px; background: var(--rule);
}
.section__eyebrow .label {
  color: var(--ink-mute);
}

/* rule */
.hr { height: 1px; background: var(--rule); width: 100%; border: 0; }

/* utility */
.muted { color: var(--ink-mute); }
.soft  { color: var(--ink-soft); }

/* hero specific */
.hero {
  padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 9vw, 140px);
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .wrap { width: 100%; position: relative; z-index: 2; }
.hero .h1 {
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 1.0;
  letter-spacing: -0.014em;
  text-transform: uppercase;
}
.hero .h1 em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hero-em, var(--teal));
  font-weight: 400;
}
.hero__watermark {
  position: absolute;
  right: -8vw; top: 50%;
  transform: translateY(-50%);
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  z-index: 0;
}

/* Better link underline */
.link-anim {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.link-anim::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform .45s cubic-bezier(.5,0,.2,1);
}
.link-anim:hover::after { transform-origin: left center; transform: scaleX(0); animation: link-redraw .8s cubic-bezier(.5,0,.2,1) .45s forwards; }
@keyframes link-redraw {
  to { transform-origin: left center; transform: scaleX(1); }
}

/* Hanging quote — testimonial feature */
.feature-quote {
  position: relative;
}
.feature-quote::before {
  content: "“";
  position: absolute;
  top: -.35em; left: -.45em;
  font-family: var(--serif);
  font-size: 8em;
  color: var(--coral);
  opacity: .35;
  line-height: 1;
  font-style: italic;
  pointer-events: none;
}

/* fade-in on view */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* clip-path word reveal — used on hero h1 */
.split-line { display: block; overflow: hidden; padding-bottom: .12em; }
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(.2,.7,.15,1);
  will-change: transform;
}
.split-line.in > span { transform: translateY(0); }
.split-line.d2 > span { transition-delay: .1s; }
.split-line.d3 > span { transition-delay: .2s; }
.split-line.d4 > span { transition-delay: .3s; }

/* Marquee — running tagline strip between sections */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid color-mix(in oklab, var(--ink) 60%, var(--rule));
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 60%, var(--rule));
}
.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  color: color-mix(in oklab, var(--bg) 95%, transparent);
  font-weight: 400;
}
.marquee__item .sep {
  width: 18px; height: 18px;
  background-image: url('moogi-signet.jpg');
  background-size: contain; background-repeat: no-repeat;
  filter: invert(1) brightness(1.5);
  opacity: .65;
}
@keyframes marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .reveal { transition: none; }
  .split-line > span { transform: none; }
}

/* Section rail — fixed vertical index of sections, left edge */
.section-rail {
  position: fixed;
  left: 24px; top: 50%; transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em;
  pointer-events: none;
}
.section-rail__item {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-mute);
  text-decoration: none;
  opacity: .55;
  transition: opacity .25s ease, color .25s ease;
}
.section-rail__item::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  transition: width .25s ease;
}
.section-rail__item span {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.section-rail__item:hover,
.section-rail__item.is-active {
  color: var(--ink);
  opacity: 1;
}
.section-rail__item.is-active::before { width: 32px; background: var(--coral); }
.section-rail__item:hover span,
.section-rail__item.is-active span {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 1100px) { .section-rail { display: none; } }

/* Drop cap (used on Pivot italic) */
.dropcap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  float: left;
  font-size: 5.5em;
  line-height: .82;
  padding: 0.06em 0.14em 0 0;
  color: var(--coral);
}

/* Scroll cue (hero) */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--ink-mute) 70%, transparent);
  animation: scroll-cue 2.4s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(-12px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Watermark signet, used as oversized brand cipher behind sections */
.watermark-signet {
  position: absolute;
  background-image: url('moogi-signet.jpg');
  background-size: contain; background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   AWWWARDS-GRADE REFINEMENTS
   ============================================================ */

/* Paper grain — subtle film noise */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjknIG51bU9jdGF2ZXM9JzInIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9JzAgMCAwIDAgMC4xMCAgMCAwIDAgMCAwLjEwICAwIDAgMCAwIDAuMTAgIDAgMCAwIC4zNSAwJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
  background-size: 240px 240px;
}

/* SplitLine — word/line slide-up reveal */
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  padding: 0 .04em;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.split-line.in > span { transform: translateY(0); }
.split-line.d1 > span { transition-delay: .05s; }
.split-line.d2 > span { transition-delay: .18s; }
.split-line.d3 > span { transition-delay: .32s; }
.split-line.d4 > span { transition-delay: .46s; }

/* Custom cursor — sober dot that grows on links */
.cursor {
  position: fixed; left: 0; top: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width .25s cubic-bezier(.2,.7,.2,1),
              height .25s cubic-bezier(.2,.7,.2,1),
              background .2s ease,
              opacity .2s ease;
  will-change: transform;
}
.cursor.is-link {
  width: 44px; height: 44px;
  background: var(--coral);
}
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* Section rail — fixed left navigator */
.section-rail {
  position: fixed;
  left: clamp(14px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: auto;
}
.section-rail__item {
  position: relative;
  display: flex; align-items: center;
  height: 18px;
  color: var(--ink-mute);
  text-decoration: none;
  padding-left: 26px;
  transition: color .25s ease;
}
.section-rail__item::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 1px;
  background: currentColor;
  opacity: .35;
  transition: width .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}
.section-rail__item.is-active { color: var(--ink); }
.section-rail__item.is-active::before { width: 30px; opacity: 1; }
.section-rail__item > span {
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.section-rail__item:hover > span,
.section-rail__item.is-active > span { opacity: 1; transform: none; }
@media (max-width: 1100px) { .section-rail { display: none; } }

/* Hero scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-decoration: none;
  z-index: 3;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue:hover { color: var(--ink); }

/* Hero signet watermark */
.hero { position: relative; overflow: hidden; }
.hero__watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.watermark-signet {
  right: -10vw; top: -6vw;
  width: 56vw; height: 56vw;
  max-width: 820px; max-height: 820px;
  background-image: url('moogi-signet.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  mix-blend-mode: multiply;
  transform: rotate(-6deg);
}
.hero .wrap { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .watermark-signet { width: 90vw; height: 90vw; opacity: .04; }
}

/* ── Mobile: hero fits one phone screen ───────────────────────── */
@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding-top: 76px !important;
    padding-bottom: 28px !important;
    display: flex;
    align-items: center;
  }
  .hero .eyebrow {
    margin-bottom: 16px !important;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero .h1 {
    font-size: clamp(32px, 9.2vw, 42px) !important;
    line-height: 1.05;
    letter-spacing: -0.01em;
  }
  .hero .dots {
    margin-top: 18px !important;
    margin-bottom: 4px !important;
  }
  .hero .lead {
    font-size: 16px !important;
    line-height: 1.5;
  }
  .hero .btn--primary { padding: 14px 24px; }
  /* CTA row: stack the note under the button, tighten */
  .hero .btn--primary + span { width: 100%; }
}
@media (max-width: 560px) and (max-height: 720px) {
  /* Shorter phones: trim further so nothing clips */
  .hero .eyebrow { margin-bottom: 12px !important; }
  .hero .h1 { font-size: clamp(28px, 8.4vw, 36px) !important; }
  .hero .lead { font-size: 15px !important; }
  .hero .dots { margin-top: 14px !important; }
}

/* Marquee — running tagline strip */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  padding: 0 32px;
}
.marquee__item .sep {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  margin-left: 32px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Drop cap on first paragraph */
.drop-cap p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  float: left;
  font-size: clamp(72px, 8vw, 120px);
  line-height: .85;
  padding: 4px 14px 0 0;
  margin-top: 6px;
  color: var(--teal);
}
.hang-quote { hanging-punctuation: first; }

/* Ghost-thin CTA (text link with arrow + underline) */
.btn--ghost-thin {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 4px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}
.btn--ghost-thin::after {
  content: "→";
  transition: transform .25s ease;
}
.btn--ghost-thin:hover { color: var(--coral); }
.btn--ghost-thin:hover::after { transform: translateX(4px); }

/* Person card portrait reveal on hover */
.person-card {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.person-card__portrait {
  position: absolute;
  left: 50%; top: 50%;
  width: 220px; height: 280px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  transition: opacity .35s ease, transform .55s cubic-bezier(.2,.7,.2,1);
  z-index: 5;
  border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.25);
  overflow: hidden;
  background: var(--bg-2);
}
.person-card__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-card:hover .person-card__portrait {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Reveal — refine timing */
.reveal { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }

/* Print: kill all motion + chrome */
@media print {
  body::before, .cursor, .section-rail, .scroll-cue, .marquee { display: none !important; }
  .hero__watermark { display: none !important; }
}

/* footer */
.footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--bg) 80%, transparent);
  padding: 90px 0 50px;
  font-family: var(--sans);
  font-size: 14px;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--bg); }

/* ============================================================
   L'APPLICATION — partagé entre la section d'accueil et la page dédiée
   ============================================================ */
.appli-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.appli-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.appli-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--sans); font-size: 14.5px; line-height: 1.5;
  color: var(--ink); padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.appli-points li:last-child { border-bottom: 1px solid var(--rule); }
.appli-points__mark { width: 13px; height: 13px; margin-top: 3px; flex: 0 0 13px; opacity: .8; }
.appli-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.appli-ctas__note {
  font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--ink-mute);
}
.appli-shot {
  margin: 0; background: var(--bg);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -36px rgba(0,0,0,.3);
}
.appli-shot__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--rule);
}
.appli-shot__signet { width: 15px; height: 15px; }
.appli-shot__name {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; color: var(--ink);
}
.appli-shot__body { padding: 26px 22px 30px; }
.appli-shot__lbl {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.appli-shot__row {
  display: grid; grid-template-columns: 1fr 64px; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--rule);
  align-items: center;
}
.appli-shot__row span {
  height: 9px; border-radius: 2px;
  background: color-mix(in oklab, var(--ink) 12%, transparent);
  display: block;
}
.appli-shot__row span:last-child { background: color-mix(in oklab, var(--teal) 40%, transparent); }
.appli-shot__cap {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 0 18px 18px; text-align: center; margin: 0;
}
@media (max-width: 900px) {
  .appli-grid { grid-template-columns: 1fr; }
}
