/* =========================================================
   DGID · Studio d'architecture d'intérieur
   Grille de quatre colonnes visible, logo géant à moitié couvert,
   serif éditoriale et petites capitales (d'après la vidéo de référence)
   ========================================================= */

:root {
  --ink: #000000;       /* logo */
  --text: #111111;      /* texte et boutons */
  --canvas: #ffffff;
  --surface: #eeeeea;   /* panneaux gris des étapes et des cartes */
  --line: rgba(17, 17, 17, .1);
  --mist: #6f6f6b;
  --rust: #af6446;
  --rust-text: #8c4b33;
  --blush: #f1e3dd;     /* pastille rosée */

  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, "Times New Roman", serif;

  --t-micro: 12px;
  --t-small: 15px;
  --t-body: 17px;
  --t-title: clamp(26px, 2vw, 30px);
  --t-heading: clamp(32px, 3.6vw, 58px);
  --t-statement: clamp(28px, 3.4vw, 54px);

  --nav-h: 44px;
  --pad: 14px;
  --cols: 4;
  --gap-section: clamp(120px, 12vw, 200px);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--text); color: var(--canvas); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--text); color: var(--canvas);
  font-size: var(--t-small); font-weight: 500;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); outline-color: var(--rust); }

/* ---------- Grille de quatre colonnes ---------- */
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.grid > * { padding-left: var(--pad); padding-right: var(--pad); }

.grid-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; /* derrière tout le contenu */
  display: grid; grid-template-columns: repeat(var(--cols), 1fr);
}
.grid-lines i { border-right: 1px solid var(--line); }
.grid-lines i:nth-child(n + 4) { display: none; }

/* La ligne de cote (main.js) : une cote d'architecte sur le bord gauche, qui s'allonge avec le défilement.
   Derrière tout le contenu : elle ne passe jamais devant une photo ou un texte. */
.cote { position: fixed; top: 0; bottom: 0; left: 0; width: 28px; z-index: -1; pointer-events: none; color: var(--text); }
.cote svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cote path { fill: none; stroke: currentColor; stroke-width: 1; }
.cote__label { position: absolute; top: 0; left: 0; font: 500 10px/1 var(--sans); letter-spacing: .06em; white-space: nowrap; transform-origin: 0 0; font-variant-numeric: tabular-nums; }

/* ---------- Typographie ---------- */
.eyebrow {
  font-size: var(--t-micro); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 28px;
}
.statement, .services__title, .work__title, .method__title, .contact__title, .stair__title, .calm__word, .hero__title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
}

/* mots découpés pour les révélations */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w__i { display: inline-block; will-change: transform; }

/* ---------- Boutons : petites capitales, croix dans un rond ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .88);
  color: var(--text);
  font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  transition: background-color 200ms ease, color 200ms ease, scale 160ms var(--ease-out);
}
.chip i, .link-plus i {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--text); color: var(--canvas);
  font-style: normal; font-size: 13px; line-height: 1;
  transition: transform 300ms var(--ease-out);
}
.chip--dark { background: var(--text); color: var(--canvas); }
.chip--dark i { background: var(--canvas); color: var(--text); }
.chip:active { scale: .97; }
@media (hover: hover) and (pointer: fine) {
  .chip:hover { background: var(--canvas); }
  .chip--dark:hover { background: #333333; }
  .chip:hover i, .link-plus:hover i { transform: rotate(90deg); }
}
.link-plus {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--canvas);
  border-radius: 0 0 50px 50px;
  pointer-events: none;
  will-change: transform;
}
.loader__mark { width: clamp(180px, 38vw, 400px); height: auto; fill: var(--ink); overflow: visible; }
.loader__mark .logo__d, .loader__mark .logo__g, .loader__mark .logo__dot { opacity: 0; }

/* Logo DG. : trois pièces animables et deux entailles */
.logo { display: block; overflow: visible; }
/* les pièces du logo sont animées par GSAP, qui gère lui-même le point d'origine (transformOrigin) */
.logo__part { transform-box: view-box; transform-origin: 0 0; }
.logo__cut { transform-box: fill-box; transform: scaleX(0); }
.logo__cut--d { transform-origin: 100% 50%; }
.logo__cut--g { transform-origin: 0% 50%; }


/* =========================================================
   RIDEAU
   ========================================================= */
.curtain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.curtain span {
  background: var(--text);
  border-radius: 9999px 9999px 0 0;
  transform: scaleY(0); transform-origin: bottom;
  margin-top: -25vw;
}

/* =========================================================
   CURSEUR
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--text);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), opacity .3s;
}
.cursor__label { color: var(--canvas); font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; opacity: 0; transition: opacity .25s; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-big .cursor__label { opacity: 1; transition-delay: .1s; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   NAVIGATION : une entrée par colonne
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: grid; grid-template-columns: repeat(var(--cols), 1fr);
  background: var(--canvas);
  transition: transform .6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__cell {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
}
.nav__link i { font-style: normal; font-size: 15px; transition: transform 300ms var(--ease-out); }
.nav__link span { position: relative; }
.nav__link span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link.is-active span::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover span::after { transform: scaleX(1); transform-origin: left; }
  .nav__link:hover i { transform: rotate(90deg); }
}
/* la marque : le logo DG. en haut à gauche */
.nav__brand { justify-content: flex-start; }
.nav__logo { height: 18px; width: auto; fill: var(--ink); }
.nav__logo .logo__dot { transform-box: fill-box; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__brand:hover .nav__logo .logo__dot { transform: translateY(-28%); }
}
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.nav__progress span { display: block; height: 100%; background: var(--rust); transform: scaleX(0); transform-origin: left; }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; justify-self: end; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--canvas);
  padding: calc(var(--nav-h) + 40px) var(--pad) var(--pad);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--serif); font-size: 48px; line-height: 1.15; }
.menu__foot { font-size: var(--t-small); color: var(--mist); }

/* =========================================================
   HERO : logo géant dont le bas passe sous quatre photos
   ========================================================= */
.hero {
  /* DG.ID : proportions d'origine, centré dans la bande au-dessus des photos */
  --logo-h: clamp(140px, 38svh, 460px);
  --band: calc(var(--logo-h) + 14px);
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
}
.hero__mark {
  position: absolute; z-index: 1;
  top: calc(var(--nav-h) + 6px); left: 0; right: 0;
  height: var(--logo-h);
  fill: var(--ink);
}
.hero__word { display: block; width: 100%; height: var(--logo-h); padding: 0 var(--pad); overflow: visible; }
.hero__photos {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  top: calc(var(--nav-h) + 6px + var(--band));
  display: grid; grid-template-columns: repeat(var(--cols), 1fr);
}
.hero__cell { position: relative; overflow: hidden; }
.hero__cell img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: saturate(.85); }
/* voile neutre sous le titre blanc, pour la lisibilité */
.hero__cell:nth-child(2)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(20, 18, 15, .42), rgba(20, 18, 15, 0) 62%);
}
.hero__title {
  position: absolute; top: 22px; left: 25%; width: 25%;
  padding: 0 var(--pad);
  color: #ffffff;
  font-size: clamp(30px, 3vw, 50px); line-height: 1.04;
}
.hero__ctas { position: absolute; right: var(--pad); bottom: var(--pad); left: var(--pad); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* =========================================================
   STUDIO
   ========================================================= */
.studio { padding-top: var(--gap-section); row-gap: 0; }
.studio__label { grid-column: 2 / 5; }
.studio__statement { grid-column: 2 / 5; font-size: var(--t-statement); line-height: 1.1; max-width: 34ch; }
.studio__p { margin-top: 72px; font-size: var(--t-small); max-width: 42ch; }
.studio__p--a { grid-column: 2; }
.studio__p--b { grid-column: 3; }
.studio__more { grid-column: 4; margin-top: 72px; align-self: end; justify-self: start; }

/* =========================================================
   FONDATEUR : portrait sur une colonne, propos sur deux
   ========================================================= */
.founder { padding-top: var(--gap-section); align-items: start; }
.founder__label { grid-column: 1; }
.founder__img { grid-column: 2; padding: 0 var(--pad); }
.founder__img img { width: 100%; height: auto; aspect-ratio: 1066 / 1600; object-fit: cover; }
.founder__text { grid-column: 3 / 5; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 4px; }
.founder__quote { font-family: var(--serif); font-size: var(--t-heading); line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; }
.founder__bio { font-size: var(--t-small); max-width: 46ch; }
.founder__name { font-family: var(--serif); font-size: var(--t-title); line-height: 1.1; display: flex; flex-direction: column; gap: 6px; }
.founder__name span { font-family: var(--sans); font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--mist); }

/* =========================================================
   SERVICES : trois colonnes d'images, titres en capitales
   ========================================================= */
.services { padding-top: var(--gap-section); }
.services__head { grid-column: 1; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.services__title { font-size: var(--t-title); line-height: 1.1; max-width: 12ch; }
.services__list {
  grid-column: 2 / 5; padding: 0;
  list-style: none; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 88px;
}
.svc { padding: 0 var(--pad); }
.svc__name { font-family: var(--sans); font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; min-height: 2.8em; }
.svc__img { margin: 28px 0 22px; aspect-ratio: 1; overflow: hidden; width: 76%; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: scale 900ms var(--ease-out); }
.svc__desc { font-size: var(--t-small); max-width: 26ch; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc__img img { scale: 1.05; }
}
.services__more { grid-column: 2; margin-top: 72px; justify-self: start; }

/* =========================================================
   PROJETS : une carte par colonne, défilement horizontal
   ========================================================= */
.work { padding-top: var(--gap-section); }
.work__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 32px) 0 40px; }
.work__head { margin-bottom: 56px; }
.work__head .eyebrow { grid-column: 1; }
.work__title { grid-column: 2 / 5; font-size: var(--t-heading); line-height: 1.05; max-width: 22ch; }
.work__track { display: flex; width: max-content; will-change: transform; }
.project { width: 25vw; flex: none; padding: 0 var(--pad); }
.project__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.project__img img { position: absolute; inset: 0 -8%; width: 116%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .project:hover .project__img img { scale: 1.05; }
}
.project__tag { margin-top: 22px; font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--mist); }
.project__title { margin-top: 8px; font-family: var(--serif); font-size: var(--t-title); line-height: 1.1; }
.project__place { margin-top: 6px; font-size: var(--t-small); color: var(--mist); }
.project--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; }
.project__end-text { font-family: var(--serif); font-size: var(--t-title); line-height: 1.15; max-width: 14ch; }

/* =========================================================
   HARMONIE : carré givré, cercle, mots qui défilent
   ========================================================= */
.calm { position: relative; height: 100svh; margin-top: var(--gap-section); overflow: hidden; }
.calm__img { position: absolute; inset: 0; }
.calm__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transform: scale(1.15); will-change: transform; }
.calm__glass {
  position: absolute; left: 25%; width: 50%;
  top: 50%; height: min(50vw, 84svh); translate: 0 -50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(1.05); backdrop-filter: blur(18px) saturate(1.05);
  color: #ffffff; text-align: center;
}
.calm__ring { position: absolute; inset: 0; margin: auto; height: 92%; width: auto; aspect-ratio: 1; overflow: visible; }
.calm__ring circle { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; }
.calm__brand { position: relative; font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.calm__words { position: relative; display: grid; font-size: clamp(48px, 6vw, 96px); line-height: 1; }
.calm__word { grid-area: 1 / 1; opacity: 0; translate: 0 40%; transition: opacity .6s ease, translate .9s var(--ease-out); }
.calm__word.is-on { opacity: 1; translate: 0 0; }
.calm__word.is-out { opacity: 0; translate: 0 -40%; }

/* =========================================================
   MÉTHODE : quatre panneaux gris en escalier
   ========================================================= */
.method { padding-top: var(--gap-section); }
.method__head { margin-bottom: 56px; }
.method__head .eyebrow { grid-column: 1; }
.method__title { grid-column: 2 / 5; font-size: var(--t-heading); line-height: 1.05; max-width: 22ch; }
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); align-items: start; }
.stair {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: min(56svh, 520px);
  padding: 22px var(--pad) 28px;
  background: var(--surface);
}
.stair:nth-child(2) { margin-top: 12svh; }
.stair:nth-child(3) { margin-top: 24svh; }
.stair:nth-child(4) { margin-top: 36svh; }
.stair__text { font-size: var(--t-small); max-width: 26ch; }
.stair__title { font-size: clamp(30px, 3vw, 50px); line-height: 1.05; }

/* =========================================================
   CONTACT : titre et photo, formulaire, colonne de cartes
   ========================================================= */
.contact { padding-top: var(--gap-section); align-items: start; }
.contact__intro { grid-column: 1; }
.contact__title { font-size: clamp(30px, 2.8vw, 46px); line-height: 1.08; }
.contact__img { margin-top: 40px; aspect-ratio: 4 / 5; overflow: hidden; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }

.contact__form { grid-column: 2 / 4; display: flex; flex-direction: column; gap: 28px; padding-top: 46px; }
.form__hint { font-size: var(--t-small); color: var(--mist); }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; }
.field > span, .field > legend { padding: 0; font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.field input, .field textarea {
  font: inherit; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid rgba(17, 17, 17, .25); border-radius: 0;
  padding: 10px 0; outline: none; resize: vertical;
  transition: border-color .3s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--text); }
.field input:focus-visible, .field textarea:focus-visible { border-bottom-width: 2px; }
.field [aria-invalid="true"] { border-color: var(--rust); }
.field__error { min-height: 1.2em; font-size: var(--t-small); color: var(--rust-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips b {
  display: inline-block; font-weight: 500; font-size: var(--t-micro); text-transform: uppercase; letter-spacing: .08em;
  padding: 10px 14px; border-radius: 999px; background: var(--surface);
  transition: background-color .3s ease, color .3s ease;
}
.chips label:hover b { background: #e2e2dc; }
.chips input:checked + b { background: var(--text); color: var(--canvas); }
.chips input:focus-visible + b { outline: 2px solid var(--text); outline-offset: 3px; }
.contact__form .chip { align-self: flex-start; }
.form__note { font-size: var(--t-small); color: var(--mist); min-height: 1.2em; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__cards { grid-column: 4; padding: 0; background: var(--surface); }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px var(--pad) 26px; border-bottom: 1px solid var(--line); }
.card:last-child { border-bottom: 0; }
.card__k { font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--mist); }
.card__v { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; overflow-wrap: anywhere; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--blush); color: var(--rust-text);
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
}
.pill::before { content: "+"; }
a.card { transition: background-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover { background: #e6e6e1; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: var(--gap-section); overflow: hidden; }
.footer__top { padding-bottom: 72px; align-items: start; }
.footer__claim { font-family: var(--serif); font-size: var(--t-title); line-height: 1.15; max-width: 14ch; }
.footer__links { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.footer__links a { width: fit-content; position: relative; padding: 4px 0; }
.footer__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.footer__legal { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-micro); text-transform: uppercase; letter-spacing: .08em; color: var(--mist); }
/* logo centré, détaché du bas de page ; le masque ne coupe que le bas (les lettres montent de là), le point tombe librement d'en haut */
.footer__mark { display: block; width: min(calc(100% - var(--pad) * 2), 1180px); margin: 0 auto clamp(32px, 5vw, 72px); fill: var(--ink); overflow: visible; clip-path: inset(-200% -10% 0 -10%); }

/* =========================================================
   TÉLÉPHONE ET TABLETTE : deux colonnes
   ========================================================= */
@media (max-width: 820px) {
  :root { --cols: 2; --nav-h: 48px; }
  body { font-size: 16px; }
  .grid-lines i:nth-child(n + 2) { display: none; }
  .nav__link { display: none; }
  .nav__burger { display: block; }

  .hero { min-height: 560px; --logo-h: clamp(110px, 24svh, 200px); }

  .hero__cell:nth-child(n + 3) { display: none; }
  .hero__title { left: 0; width: 82%; top: 18px; font-size: clamp(28px, 7.4vw, 40px); }
  .hero__cell:nth-child(1)::after, .hero__cell:nth-child(2)::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(rgba(20, 18, 15, .42), rgba(20, 18, 15, 0) 60%);
  }

  .studio__label, .studio__statement { grid-column: 1 / 3; }
  .studio__p--a { grid-column: 1 / 3; margin-top: 48px; }
  .studio__p--b { grid-column: 1 / 3; margin-top: 20px; }
  .studio__more { grid-column: 1 / 3; margin-top: 32px; }

  .founder__label, .founder__text { grid-column: 1 / 3; }
  .founder__img { grid-column: 1 / 3; margin-bottom: 40px; }
  .services__head { grid-column: 1 / 3; position: static; margin-bottom: 48px; }
  .services__list { grid-column: 1 / 3; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .svc__img { width: 100%; }
  .services__more { grid-column: 1 / 3; margin-top: 48px; }

  .work__head .eyebrow, .work__title, .method__head .eyebrow, .method__title { grid-column: 1 / 3; }
  .project { width: 72vw; }

  .calm__glass { left: 6%; width: 88%; height: min(88vw, 80svh); }

  .stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .stair { min-height: 300px; }
  .stair:nth-child(2) { margin-top: 64px; }
  .stair:nth-child(3) { margin-top: 0; }
  .stair:nth-child(4) { margin-top: 64px; }

  .contact__intro, .contact__form, .contact__cards { grid-column: 1 / 3; }
  .contact__img { aspect-ratio: 4 / 3; }
  .contact__cards { margin-top: 56px; }

  .footer__top { row-gap: 40px; }
  .footer__claim { grid-column: 1 / 3; }
  .footer__legal { grid-column: 1 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .calm__word { opacity: 0; translate: 0 0; }
  .calm__word.is-on { opacity: 1; }
}
