/* ALTA Experiences — homepage
   Art direction: "altitude". A living relief map, one line of light, generous dark space. */

/* Typefaces, served from this site (no third party). Geist and Geist Mono by Vercel,
   SIL Open Font License 1.1 (fonts/OFL.txt). Variable files: one file covers every weight used. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0c0d;
  --bg-2: #101113;
  --bg-3: #15171a;
  --ink: #ecebe6;
  --ink-2: #b9b8b2;
  --ink-3: #9d9c96;   /* informative secondary text (about 7:1 on --bg) */
  --mute: #7d7c77;    /* labels and decorative marks only */
  --line: rgba(236, 235, 230, 0.1);
  --line-2: rgba(236, 235, 230, 0.18);
  --accent: #e8a965;
  --accent-soft: rgba(232, 169, 101, 0.14);

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* One horizontal frame for header, hero text, sections and footer. The gutter grows smoothly
     with the screen; past --frame the content stays aligned on a centred frame while the hero
     figure keeps running edge to edge. --edge is that inset, valid in any full-width box. */
  --gutter: clamp(20px, 5.2vw, 64px);
  --frame: 1600px;
  --edge: max(var(--gutter), calc((100% - var(--frame)) / 2 + var(--gutter)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
/* Bilingual typesetting: headings balance their lines, running text avoids orphans.
   Combined with the non-breaking spaces added in main.js, each language wraps on its own terms. */
h1, h2, h3, .phrase, .contact__title { text-wrap: balance; }
p, li { text-wrap: pretty; }
.manifesto { text-wrap: pretty; }
::selection { background: var(--accent); color: #111; }

:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 6px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; padding: 0 var(--edge); }

/* subtle film grain over everything, very low */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────────── Header ───────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: max(14px, env(safe-area-inset-top)) var(--edge) 14px;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.bar.is-solid {
  background: rgba(11, 12, 13, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark__glyph { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.mark__line { stroke: var(--accent); }
.mark__word { font-size: 14px; letter-spacing: 0.02em; color: var(--ink-2); font-weight: 400; }
.mark__word b { color: var(--ink); font-weight: 600; letter-spacing: 0.16em; margin-right: 2px; }
.mark:hover .mark__line { animation: markLine 1s var(--ease); }
.mark__word { white-space: nowrap; }
.mark__glyph { flex: none; }
@keyframes markLine { 0% { transform: translateY(5px); opacity: 0 } 100% { transform: none; opacity: 1 } }

.nav { display: none; }
.nav__list { display: flex; gap: 34px; }
.nav__list a {
  position: relative; font-size: 13.5px; color: var(--ink-2); letter-spacing: 0.01em;
  transition: color .3s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--ink); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.bar__right { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  position: relative;
}
.lang button {
  position: relative; z-index: 1; padding: 6px 10px; border-radius: 999px; color: var(--mute);
  transition: color .3s var(--ease); min-width: 36px; min-height: 28px;
}
.lang button::after { content: ""; position: absolute; inset: -8px -2px; }   /* 44px tap height */
.lang button[aria-pressed="true"] { color: var(--bg); }
.lang__sep { display: none; }
.lang::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 4px);
  background: var(--ink); border-radius: 999px; transition: transform .45s var(--ease);
}
html[lang="en"] .lang::before { transform: translateX(calc(100% + 2px)); }

.burger { position: relative; width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; border-radius: 50%; border: 1px solid var(--line-2); }
.burger::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; }   /* 46px tap area */
/* Small phones: the logo, FR/EN and menu didn't fit on one row (the logo wrapped onto two lines).
   Tighten the header's spacing below 390px, and a touch more below 350px. Sizes elsewhere unchanged. */
@media (max-width: 389px) {
  .bar { gap: 12px; }
  .bar__right { gap: 10px; }
}
@media (max-width: 349px) {
  .bar { gap: 8px; }
  .mark { gap: 8px; }
  .mark__glyph { width: 22px; height: 22px; }
  .mark__word { font-size: 13px; }
  .lang button { min-width: 31px; padding: 6px 8px; }
}
.burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: rgba(11, 12, 13, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; align-items: flex-end; padding: 0 var(--gutter) max(48px, env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .4s var(--ease);
}
/* closed menu: really gone, not just transparent (display:flex above would override [hidden]) */
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; }
.sheet ul { width: 100%; }
.sheet li { border-top: 1px solid var(--line); overflow: hidden; }
.sheet a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; }
.sheet span { font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.sheet em {
  font-style: normal; font-size: clamp(34px, 10vw, 52px); letter-spacing: -0.03em; font-weight: 400;
  display: inline-block; transform: translateY(110%); transition: transform .6s var(--ease);
}
.sheet.is-open em { transform: none; }
.sheet li:nth-child(2) em { transition-delay: .05s; }
.sheet li:nth-child(3) em { transition-delay: .1s; }
.sheet li:nth-child(4) em { transition-delay: .15s; }

@media (min-width: 900px) {
  .nav { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .burger { display: none; }
  .sheet { display: none !important; }
}

/* ───────────── Hero ───────────── */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1200px;
  overflow: hidden; isolation: isolate; background: var(--bg);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero.gl-on .hero__gl { opacity: 1; }
.hero__fallback {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 65% 52%, rgba(232, 169, 101, .10), transparent 70%),
    repeating-radial-gradient(ellipse at 65% 60%, transparent 0 22px, rgba(236,235,230,.05) 22px 23px),
    var(--bg);
}
.hero.gl-on .hero__fallback { display: none; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,12,13,.55) 0%, transparent 18%, transparent 52%, rgba(11,12,13,.7) 82%, var(--bg) 100%);
}
/* Mobile: the darkening starts just above the eyebrow, so the bright foreground loop that crosses
   the eyebrow and the first title line is softened (about a quarter dimmer). The mountain above
   54% is untouched; desktop keeps the gradient above. */
@media (max-width: 899px) {
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(11,12,13,.55) 0%, transparent 18%, transparent 54%, rgba(11,12,13,.5) 64%, rgba(11,12,13,.72) 80%, var(--bg) 100%);
  }
}

.hero__content {
  position: absolute; z-index: 2; left: var(--edge); right: var(--edge);
  bottom: calc(96px + env(safe-area-inset-bottom));
  max-width: 62rem;
  container-type: inline-size;
}
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.hero__title {
  font-weight: 400; letter-spacing: -0.045em; line-height: 0.95;
  font-size: clamp(52px, 15.5vw, 168px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; white-space: nowrap; }
/* Each title line never breaks. --fit is the longest line's width in em, measured per language
   in main.js, so the title keeps its scale when it fits and only eases down when a language needs it. */
@supports (width: 1cqw) {
  .hero__title { font-size: min(clamp(52px, 15.5vw, 168px), calc(100cqw / var(--fit, 4.6))); }
}
.hero__title .line + .line .reveal { color: var(--ink-2); }
.hero__title .line > span { display: inline-block; }
.hero__desc { margin-top: 22px; max-width: 46ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.hud {
  position: absolute; z-index: 2; right: var(--edge); top: calc(84px + env(safe-area-inset-top));
  width: 128px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
}
.hud__row { display: flex; justify-content: space-between; align-items: baseline; }
.hud__row b { color: var(--accent); font-weight: 500; font-variant-numeric: tabular-nums; }
.hud__bar { margin-top: 8px; height: 1px; background: var(--line-2); position: relative; }
.hud__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 1px; background: var(--accent); transform-origin: left; }

.scrollcue {
  position: absolute; z-index: 2; left: var(--edge); bottom: calc(28px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px;
  padding-block: 14px; margin-block: -14px;   /* 44px tap area, same visual position */
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  transition: color .3s var(--ease);
}
.scrollcue i { position: relative; width: 44px; height: 1px; background: var(--line-2); overflow: hidden; }
.scrollcue i::after {
  content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%);
  animation: cue 2.8s var(--ease-io) 2.4s infinite;
}
.scrollcue:hover { color: var(--ink); }
@keyframes cue { 0% { transform: translateX(-100%) } 55%, 100% { transform: translateX(100%) } }

@media (min-width: 900px) {
  .hero__content { bottom: 15vh; bottom: 15svh; }
  .hero__title { font-size: clamp(88px, 10.5vw, 176px); }
  @supports (width: 1cqw) {
    .hero__title { font-size: min(clamp(88px, 10.5vw, 176px), calc(100cqw / var(--fit, 4.6))); }
  }
  .hero__desc { font-size: 16px; margin-top: 28px; }
  .hud { top: auto; bottom: 15vh; bottom: 15svh; width: 180px; }
  .scrollcue { left: auto; right: var(--edge); bottom: 34px; }
}

/* intro choreography */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .hero__title .reveal { opacity: 1; transform: translateY(108%); }
.is-ready .reveal {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(900ms + var(--d) * 120ms);
}
.is-ready .hero__title .reveal { transform: none; transition: transform 1.4s var(--ease); transition-delay: calc(850ms + var(--d) * 110ms); }

/* ───────────── Shared section bits ───────────── */
.label {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.label span:first-child { color: var(--accent); }
.label::after { content: ""; flex: 0 0 40px; height: 1px; background: var(--line-2); order: 1; }
.label span:last-child { order: 2; }
.h2 {
  font-weight: 400; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(34px, 8.6vw, 76px); max-width: 14ch;
}

/* scroll-driven entrance (only when JS confirms motion is allowed) */
.motion [data-in] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.motion [data-in].in { opacity: 1; transform: none; }

/* ───────────── 01 Studio ───────────── */
.studio { position: relative; padding: 120px 0 110px; }
.manifesto {
  margin-top: 40px; font-size: clamp(27px, 6.6vw, 64px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 400;
  max-width: 21ch; color: var(--ink);
}
.manifesto .w { display: inline; color: var(--ink); transition: color .5s var(--ease); }
.motion .manifesto .w { color: rgba(236, 235, 230, .16); }
.motion .manifesto .w.on { color: var(--ink); }
.motion .manifesto .w.key.on { color: var(--accent); }
.studio__foot {
  margin-top: 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.studio__foot p { max-width: 36ch; font-size: 15px; color: var(--ink-3); line-height: 1.6; }
/* one sentence per line: the statement first, a shade brighter, then what it means */
.studio__foot p .phrase:first-child { color: var(--ink-2); }
.studio__rings { width: 112px; height: 112px; flex: none; overflow: visible; }
.studio__rings path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.studio__rings path.hi { stroke: var(--accent); }

@media (min-width: 900px) {
  .studio { padding: 200px 0 170px; }
  .manifesto { margin-top: 56px; }
  .studio__foot { margin-top: 110px; }
  .studio__rings { width: 160px; height: 160px; }
}

/* ───────────── 02 Domaines ───────────── */
.fields { position: relative; padding: 40px 0 120px; }
.fields__head { display: grid; gap: 28px; margin-bottom: 56px; }
.fields__list { border-top: 1px solid var(--line); }
.field {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); isolation: isolate;
}
.field::before {
  /* localized light following the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(260px 140px at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 70%);
  transition: opacity .5s var(--ease);
}
.field__glyph { width: 64px; height: 64px; overflow: visible; }
.field__glyph path {
  fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke;
  transition: stroke .5s var(--ease), transform .9s var(--ease); transform-origin: 60px 60px; transform-box: view-box;
}
.field__glyph path.hi { stroke: var(--accent); }
.field__text h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.field__text p { margin-top: 6px; font-size: 15px; color: var(--ink-3); line-height: 1.55; max-width: 44ch; }

/* glyph draws in once visible */
.motion .field__glyph path { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.6s var(--ease), stroke .5s var(--ease), transform .9s var(--ease); }
.motion .field.in .field__glyph path { stroke-dashoffset: 0; }

@media (hover: hover) {
  .field:hover::before { opacity: 1; }
  .field:hover .field__glyph path { stroke: rgba(236,235,230,.4); transform: scale(var(--s, 1)); }
  .field:hover .field__glyph path.hi { stroke: var(--accent); }
}

@media (min-width: 900px) {
  .fields { padding: 60px 0 200px; }
  .fields__head { grid-template-columns: 1fr 1.6fr; align-items: end; margin-bottom: 80px; }
  .field { grid-template-columns: 120px 1fr; gap: 40px; padding: 38px 0; }
  .field__glyph { width: 96px; height: 96px; }
  .field__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: baseline; }
  .field__text h3 { font-size: clamp(24px, 2.6vw, 38px); }
  .field__text p { margin-top: 0; font-size: 16px; }
  @media (hover: hover) {
    .field__text h3 { transition: transform .7s var(--ease); }
    .field:hover .field__text h3 { transform: translateX(10px); }
  }
}

/* ── A field that holds a project: the row itself opens it ──
   No extra element in the row: a spot height on the glyph's summit, which sends out one ring
   when the row first appears, and grows a little on hover or keyboard focus. */
.field__open { position: absolute; inset: 0; z-index: 1; cursor: pointer; border-radius: 0; }
.field__open:focus-visible { outline: none; box-shadow: inset 0 -1px 0 var(--accent); }
.field__glyph .summit, .field__glyph .summit-ping { transform-box: fill-box; transform-origin: center; }
.field__glyph .summit { fill: var(--accent); stroke: none; transition: transform .6s var(--ease); }
.field__glyph .summit-ping { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; }
.motion .field__glyph .summit { opacity: 0; transition: opacity .8s var(--ease) 1.1s, transform .6s var(--ease); }
.motion .field.in .field__glyph .summit { opacity: 1; }
.motion .field.in .field__glyph .summit-ping { animation: summit-ping 1.2s var(--ease) 1.5s 1 forwards; }
@keyframes summit-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
@media (hover: hover) {
  .field--work:hover .field__glyph .summit { transform: scale(1.35); }
}
/* keyboard focus gets the same answer as the pointer */
.field--work:has(.field__open:focus-visible)::before { opacity: 1; }
.field--work:has(.field__open:focus-visible) .field__glyph path { stroke: rgba(236,235,230,.4); transform: scale(var(--s, 1)); }
.field--work:has(.field__open:focus-visible) .field__glyph path.hi { stroke: var(--accent); }
.field--work:has(.field__open:focus-visible) .field__glyph .summit { transform: scale(1.35); }

/* ── Project plate ── */
html.plate-lock { overflow: hidden; scrollbar-gutter: stable; }
.plate {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--bg); color: var(--ink); overflow: hidden auto; overscroll-behavior: contain;
}
.plate::backdrop { background: transparent; }
.plate::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.plate__bar {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: max(14px, env(safe-area-inset-top)) var(--edge) 14px; background: linear-gradient(var(--bg) 60%, rgba(11, 12, 13, 0));
}
.plate__kicker {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.plate__kicker span:first-child { color: var(--accent); }
.plate__kicker::after { content: ""; flex: 0 0 40px; height: 1px; background: var(--line-2); order: 1; }
.plate__kicker span:last-child { order: 2; white-space: nowrap; }
@media (max-width: 599px) { .plate__kicker::after { display: none; } }
.plate__close {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  transition: color .4s var(--ease);
}
.plate__x { position: relative; width: 14px; height: 14px; transition: transform .6s var(--ease); }
.plate__x::before, .plate__x::after { content: ""; position: absolute; left: -1px; top: 6.5px; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.plate__x::after { transform: rotate(-45deg); }
.plate__close:hover { color: var(--ink); }
.plate__close:hover .plate__x { transform: rotate(90deg); }

.plate__body { position: relative; display: grid; gap: 36px; padding: 8px var(--edge) max(48px, env(safe-area-inset-bottom)); }
.plate__text { position: relative; z-index: 1; order: 2; }
.plate__kind { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.plate__name { margin-top: 16px; font-weight: 400; letter-spacing: -0.035em; line-height: 1; font-size: clamp(48px, 13vw, 64px); outline: none; }
.plate__desc { margin-top: 20px; max-width: 40ch; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.plate__facts { margin: 30px 0 0; border-top: 1px solid var(--line); max-width: 440px; }
.plate__facts div { display: grid; grid-template-columns: 116px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plate__facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.plate__facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.plate__link {
  position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding-bottom: 8px;
  font-size: 18px; letter-spacing: -0.01em; color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .4s var(--ease);
}
.plate__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.plate__link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.plate__link:hover, .plate__link:focus-visible { color: var(--ink); }
.plate__link:hover::after, .plate__link:focus-visible::after { transform: scaleX(1); }
.plate__link:hover svg { transform: translate(2px, -2px); color: var(--accent); }

.plate__stage { position: relative; order: 1; margin: 0; width: 100%; max-width: 460px; aspect-ratio: 600 / 650; }
.plate__stage::before {
  content: ""; position: absolute; inset: 4% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 169, 101, .12), transparent);
}
.plate__rings {
  position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; height: auto; margin: 0; overflow: visible;
  translate: -50% -50%; pointer-events: none;
}
.plate__rings path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plate__rings path.hi { stroke: rgba(232, 169, 101, .55); }
.plate__layer { position: absolute; inset: 0; width: 100%; height: 100%; }

/* choreography: the circle and the rings are driven from main.js; everything else is here.
   In: text and phones settle once the circle is mostly open. Out: all of it leaves at once, fast. */
.plate__bar, .plate__text > *, .plate__stage::before { opacity: 0; transition: opacity .16s linear; }
.plate__text > * { transform: translateY(16px); transition: opacity .16s linear, transform .3s var(--ease); }
.plate__layer { opacity: 0; transition: opacity .16s linear, transform .3s var(--ease); }
.plate__layer--back { transform: translate(14px, 30px) rotate(-1.5deg); transform-origin: 70% 85%; }
.plate__layer--front { transform: translate(-10px, 44px) rotate(2.5deg); transform-origin: 30% 90%; }
.plate.is-in .plate__bar { opacity: 1; transition: opacity .6s var(--ease) .32s; }
.plate.is-in .plate__text > * { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(.3s + var(--i, 0) * 60ms), transform 1s var(--ease) calc(.3s + var(--i, 0) * 60ms), color .4s var(--ease); }
.plate__text > :nth-child(2) { --i: 1; } .plate__text > :nth-child(3) { --i: 2; } .plate__text > :nth-child(4) { --i: 3; } .plate__text > :nth-child(5) { --i: 4; }
.plate.is-in.is-shown .plate__stage::before { opacity: 1; transition: opacity 1.2s var(--ease) .3s; }
.plate.is-in.is-shown .plate__layer { opacity: 1; transform: none; }
.plate.is-in.is-shown .plate__layer--back { transition: opacity .8s var(--ease) .26s, transform 1.2s var(--ease) .26s; }
.plate.is-in.is-shown .plate__layer--front { transition: opacity .8s var(--ease) .36s, transform 1.3s var(--ease) .36s; }
.plate.is-out .plate__bar, .plate.is-out .plate__text > *, .plate.is-out .plate__layer, .plate.is-out .plate__stage::before { opacity: 0; transition: opacity .14s linear; }
.plate.is-out .plate__rings { opacity: 1; }

@media (min-width: 900px) {
  .plate__bar { padding-top: 26px; padding-bottom: 10px; }
  .plate__body {
    min-height: calc(100% - 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px;
    padding-top: 0; padding-bottom: 40px;
  }
  .plate__text { order: 0; }
  .plate__stage { order: 0; justify-self: end; width: min(600px, calc((100dvh - 170px) * 0.923)); max-width: none; }
  .plate__rings { width: 140%; }
  .plate__name { font-size: clamp(64px, 6vw, 96px); }
}
@media (prefers-reduced-motion: reduce) {
  .plate, .plate__bar, .plate__text > *, .plate__layer, .plate__stage::before { transition: opacity .2s linear !important; transform: none !important; }
}

/* ───────────── 03 Approche ───────────── */
.approach { position: relative; }
.approach__sticky { padding: 90px 0 110px; }
.approach__inner { display: grid; gap: 48px; }
.approach__head { display: grid; gap: 28px; }

.profile { position: relative; }
.profile__svg { width: 100%; height: 190px; overflow: visible; }
.profile__grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.profile__ghost { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.profile__line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }

.steps { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.step { position: relative; padding: 22px 0 22px 34px; border-bottom: 1px solid var(--line); transition: opacity .6s var(--ease); }
.step__dot {
  position: absolute; left: 4px; top: 30px; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--mute); background: var(--bg); transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
}
.step__n { font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: .1em; }
.step h3 { margin-top: 6px; font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.step p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-3); max-width: 32ch; }
/* Unreached steps stay readable: the number and title wait dimmed, the description keeps
   a legible floor (about 4.7:1), and all of it lights up as the line reaches the step. */
.motion .step .step__n, .motion .step h3 { opacity: .4; transition: opacity .6s var(--ease); }
.motion .step p { opacity: .8; transition: opacity .6s var(--ease); }
.motion .step.on .step__n, .motion .step.on h3, .motion .step.on p { opacity: 1; }
@media (min-width: 720px) {
  .studio__foot p, .step p { font-size: 16px; }
}
.step.on .step__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }

@media (min-width: 900px) {
  .approach { height: 260vh; }
  .approach__sticky { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; align-items: center; }
  .approach__inner { gap: 64px; }
  .approach__head { grid-template-columns: 1fr 1.6fr; align-items: end; }
  .profile__svg { height: min(34vh, 320px); }
  .steps {
    display: grid; border-top: 0; margin-top: 0;
    grid-template-columns: 20fr 30fr 28fr 22fr; /* column edges sit on the waypoints .2 / .5 / .78 */
  }
  .step { grid-row: 1; padding: 26px 24px 0 0; border: 0; transform: translateX(-12px); max-width: 260px; }
  .step:nth-child(1) { grid-column: 2; }
  .step:nth-child(2) { grid-column: 3; }
  .step:nth-child(3) { grid-column: 4; padding-right: 0; }
  .step::before { content: ""; position: absolute; left: 12px; top: -8px; height: 26px; width: 1px; background: var(--line-2); }
  .step__dot { left: 8px; top: -14px; }
}
/* Step II: its text column was 236px (the 260px cap includes the 24px gutter) and needed 239px
   for two lines. From 1200px the column has room: give it 260px of text and balance the two lines,
   so the break falls after the comma. Steps I and III are untouched. */
@media (min-width: 1200px) {
  .step:nth-child(2) { max-width: 284px; }
  .step:nth-child(2) p { text-wrap: balance; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .approach__inner { gap: 36px; }
  .profile__svg { height: 26vh; }
}

/* ───────────── Contact ───────────── */
.contact { position: relative; padding: 120px 0 130px; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.contact__glow {
  position: absolute; z-index: -1; left: 50%; bottom: -40%; width: 140vw; height: 90%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 169, 101, .12), transparent);
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.contact.in .contact__glow { opacity: 1; }
.contact__title {
  margin-top: 36px; font-weight: 400; letter-spacing: -0.035em; line-height: 1.04;
  font-size: clamp(34px, 8.2vw, 88px);
}
.phrase { display: block; }
.mail {
  margin-top: 48px; display: inline-flex; align-items: center; gap: 16px; max-width: 100%;
  font-size: clamp(17px, 4.6vw, 30px); letter-spacing: -0.01em; color: var(--ink-2);
  padding-bottom: 10px; border-bottom: 1px solid var(--line-2); position: relative;
  transition: color .4s var(--ease);
}
.mail__text { overflow-wrap: anywhere; }
.mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.mail__arrow { width: 1em; height: 1em; flex: none; overflow: hidden; position: relative; }
.mail__arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.mail:hover, .mail:focus-visible { color: var(--ink); }
.mail:hover::after, .mail:focus-visible::after { transform: scaleX(1); }
.mail:hover .mail__arrow svg { animation: arrow .7s var(--ease); color: var(--accent); }
@keyframes arrow { 0% { transform: none } 45% { transform: translate(110%, -110%) } 46% { transform: translate(-110%, 110%) } 100% { transform: none } }

@media (min-width: 900px) { .contact { padding: 200px 0 220px; } .mail { margin-top: 72px; } }

/* ───────────── Footer ───────────── */
.foot { border-top: 1px solid var(--line); padding: 26px 0 max(26px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--mute); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot__mid { display: none; }
.foot__top { transition: color .3s var(--ease); padding-block: 12px; margin-block: -12px; }   /* 44px tap area */
.foot__top:hover { color: var(--ink); }
@media (min-width: 720px) { .foot__mid { display: inline; } }

/* language swap: brief crossfade */
.lang-swap [data-i18n] { animation: swap .5s var(--ease); }
@keyframes swap { 0% { opacity: 0; filter: blur(4px) } 100% { opacity: 1; filter: none } }

/* ───────────── Reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__title .reveal { opacity: 1; transform: none; }
}

/* ───────────── Legal pages (legal notice, privacy) ─────────────
   Same header, footer, frame and tones as the home page; no hero, a comfortable reading column. */
.legal { padding: calc(132px + env(safe-area-inset-top)) 0 120px; }
.legal__head { max-width: 68ch; }
.legal__title {
  margin-top: 28px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.05;
  font-size: clamp(36px, 7vw, 64px); text-wrap: balance;
}
.legal__date { margin-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.legal__body { max-width: 68ch; margin-top: 64px; }
.legal__body section + section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal__body h2 { font-size: 22px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.legal__body p, .legal__body li { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--ink-3); }
.legal__body ul { margin-top: 6px; }
.legal__body li { margin-top: 8px; padding-left: 18px; position: relative; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--accent); }
.legal__body strong { color: var(--ink-2); font-weight: 500; }
.legal__body a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .3s var(--ease), text-decoration-color .3s var(--ease); }
.legal__body a:hover { color: var(--ink); text-decoration-color: var(--accent); }
/* information still to confirm before publication: shown as an explicit placeholder */
.todo { font-family: var(--f-mono); font-size: .86em; color: var(--accent); letter-spacing: .02em; }
@media (min-width: 900px) { .legal { padding: 200px 0 180px; } .legal__body { margin-top: 88px; } }

/* both languages are in the page; show the one selected (French without JavaScript) */
[data-lang-block="en"] { display: none; }
html[lang="en"] [data-lang-block="en"] { display: block; }
html[lang="en"] [data-lang-block="fr"] { display: none; }

/* footer legal links, styled like "back to top" */
.foot__legal { display: flex; gap: 20px; }
.foot__legal a { transition: color .3s var(--ease); padding-block: 12px; margin-block: -12px; }
.foot__legal a:hover, .foot__legal a[aria-current="page"] { color: var(--ink); }
