/* ————————————————————————————————————————————————
   VAO Production — tokens, base, shared UI
   Brand: Turkey Red #AE0C00 · Atomic Black #100F0D · Attractive White #FBF8EF
   Type:  Cormorant Garamond (display) · Montserrat (headings, UI, body)
   ———————————————————————————————————————————————— */

:root {
  --black: #100f0d;
  --paper: #fbf8ef;
  --stone: #efece4;
  --red: #ae0c00;
  --red-60: #cd6a60;
  --ink-80: #3a3935;
  --ink-60: #6e6c67;
  --ink-40: #9d9b94;
  --line: rgb(16 15 13 / 0.14);
  --line-light: rgb(251 248 239 / 0.2);

  --serif: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1440px;
  --section: clamp(88px, 11vw, 176px);
  --header-h: clamp(72px, 7vw, 96px);

  --logo-accent: var(--red);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--ph, var(--stone)); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
hr { border: 0; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 10000; padding: 10px 16px;
  background: var(--black); color: var(--paper); transform: translateY(-200%);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--black); color: var(--paper); }
.section--stone { background: var(--stone); }

/* ——— Type ——— */

.display-hero {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.1rem, 5.2vw, 5.6rem); line-height: 1.04; letter-spacing: -0.005em;
}
.display-1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 10.5vw, 11.25rem); line-height: 0.98; letter-spacing: -0.02em;
}
.display-2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 6.1rem); line-height: 1.02; letter-spacing: -0.015em;
}
.display-project {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 3.8vw, 3.75rem); line-height: 1.08;
}
.heading-1 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em;
}
.heading-1 em, .display-2 em {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.22em; letter-spacing: 0;
}
.heading-2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.875rem); line-height: 1.2; }
.heading-3 { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; }
.body-lg { font-size: clamp(0.98rem, 1.1vw, 1.0625rem); line-height: 1.8; color: var(--ink-80); }
.section--dark .body-lg, .footer .body-lg { color: rgb(251 248 239 / 0.78); }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.4; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-60);
  display: flex; width: fit-content; align-items: center; gap: 12px; margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--red); }
.eyebrow--light, .section--dark .eyebrow { color: rgb(251 248 239 / 0.72); }

.kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--black); margin-bottom: 28px;
}
.place { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.5vw, 1.4rem); color: var(--ink-60); margin-top: 10px; }
.place--light { color: rgb(251 248 239 / 0.85); }
.rule { height: 1px; background: var(--line); margin-block: clamp(28px, 3vw, 44px); width: min(100%, 360px); }

/* Split-text lines are masked by JS; keep descenders visible */
[data-split] .line-mask, .split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ——— Links & buttons ——— */

.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease-out);
  padding-bottom: 2px;
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link--accent { background-image: linear-gradient(var(--red), var(--red)); background-size: 100% 1px; }
.link--accent:hover { color: var(--red); }
.link--arrow, .link--back {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.arrow { width: 24px; height: 10px; flex: none; transition: transform 0.6s var(--ease-out); }
a:hover > .arrow, a:focus-visible > .arrow { transform: translateX(6px); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 36px; overflow: hidden; isolation: isolate;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn__label { position: relative; display: block; overflow: hidden; line-height: 1.6; }
.btn__label::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
}
.btn__label, .btn__label::after { transition: transform 0.6s var(--ease-out); }
.btn:hover .btn__label { transform: translateY(-100%); }
.btn:hover .btn__label::after { transform: translateY(0); }
.btn__label { overflow: visible; clip-path: inset(0); }

.btn--dark { background: var(--black); color: var(--paper); }
.btn--dark::before { background: var(--red); }
.btn--glass {
  color: var(--paper); border: 1px solid rgb(251 248 239 / 0.4);
  background: rgb(251 248 239 / 0.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass::before { background: var(--paper); }
.btn--glass:hover { color: var(--black); border-color: var(--paper); }

/* ——— Header ——— */

.header {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--header-h);
  color: var(--black); --logo-accent: var(--red);
  transition: transform 0.7s var(--ease-out), color 0.4s ease, background-color 0.4s ease;
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgb(251 248 239 / 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.4s ease;
}
body[data-header-tone='light'] .header:not(.is-solid) { color: var(--paper); --logo-accent: currentColor; }
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: none; margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.header__logo { display: block; }
.logo { width: clamp(104px, 9vw, 132px); height: auto; overflow: visible; }
.logo .logo-accent { fill: var(--logo-accent); transition: fill 0.4s ease; }

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__link {
  position: relative; display: block; padding-block: 6px;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.nav__link span { position: relative; display: block; overflow: hidden; }
.nav__link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.nav__link span, .nav__link span::after { transition: transform 0.55s var(--ease-out); }
.nav__link:hover span { transform: translateY(-100%); }
.nav__link span { clip-path: inset(0); overflow: visible; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease-out);
}
.nav__link.is-active::after { transform: scaleX(1); }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; }
.menu-toggle__bar {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease-out);
}
.menu-toggle__bar:nth-child(2) { top: 18px; }
.menu-toggle__bar:nth-child(3) { top: 25px; }
.menu-open .menu-toggle__bar:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .header { color: var(--paper); --logo-accent: currentColor; }
.menu-open .header::before { opacity: 0; }

.menu {
  position: fixed; inset: 0; z-index: 850; background: var(--black); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
}
.menu__link { display: flex; align-items: baseline; gap: 16px; padding-block: 4px; overflow: hidden; }
.menu__index { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--red-60); }
.menu__label { display: block; font-family: var(--serif); font-size: clamp(2.3rem, 9vw, 4.4rem); line-height: 1.08; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; font-size: 0.8rem; color: rgb(251 248 239 / 0.7); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

/* ——— Loader, page curtain, cursor ——— */

.loader, .curtain {
  position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center;
  background: var(--black); color: var(--paper); --logo-accent: var(--red);
}
.aperture { width: clamp(52px, 5vw, 72px); height: auto; }
.aperture .logo-accent { fill: var(--logo-accent); }
.loader__count {
  position: absolute; right: var(--gutter); bottom: 24px;
  font-family: var(--serif); font-size: clamp(4rem, 10vw, 9rem); line-height: 1; color: rgb(251 248 239 / 0.14);
}
.no-js .loader, .no-js .curtain { display: none; }
/* Never trap the page if scripts fail to load */
.loader { animation: loader-failsafe 0s linear 6s forwards; }
@keyframes loader-failsafe { to { visibility: hidden; } }
.curtain { visibility: hidden; transform: translateY(100%); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 9980; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--black);
  mix-blend-mode: normal; transform: scale(0); opacity: 0;
}
.cursor__label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ——— Footer ——— */

.footer { background: var(--black); color: var(--paper); padding-top: var(--section); padding-bottom: 28px; --logo-accent: currentColor; }
.footer__cta { padding-bottom: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line-light); }
.footer__big {
  display: inline-flex; align-items: center; gap: clamp(16px, 2vw, 32px);
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 8.4vw, 8.4rem); line-height: 1; letter-spacing: -0.02em;
}
.footer__big .arrow { width: clamp(40px, 5vw, 88px); height: auto; color: var(--red-60); }
.footer__mail { display: inline-block; margin-top: 28px; font-size: 0.95rem; color: rgb(251 248 239 / 0.75); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
  padding-block: clamp(56px, 6vw, 88px);
}
.footer__brand .logo { width: 128px; margin-bottom: 24px; }
.footer__brand p { max-width: 30ch; font-size: 0.85rem; color: rgb(251 248 239 / 0.6); }
.footer__title { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 20px; color: rgb(251 248 239 / 0.5); }
.footer__grid li + li { margin-top: 10px; }
.footer__grid a { font-size: 0.9rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 24px; border-top: 1px solid var(--line-light);
  font-size: 0.75rem; color: rgb(251 248 239 / 0.5);
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgb(0 0 0 / 0.22);
  transition: transform 0.5s var(--ease-out);
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .loader { display: none; }
}

/* ————————————————————————————————————————————————
   VAO Production — page sections
   ———————————————————————————————————————————————— */

[hidden] { display: none !important; }

.media-cover img, .media-cover video { width: 100%; height: 100%; object-fit: cover; }

/* ——— Heroes ——— */

.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black); color: var(--paper);
}
.hero--page, .hero--project { min-height: clamp(560px, 90svh, 1000px); }
.hero__media { position: absolute; inset: 0; }
.hero__media[data-parallax] { inset: -9% 0; }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(16 15 13 / 0.5) 0%, rgb(16 15 13 / 0.08) 28%, rgb(16 15 13 / 0.12) 55%, rgb(16 15 13 / 0.72) 100%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero__content--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--home .hero__content { padding-bottom: clamp(28px, 3vw, 44px); }
.hero--home .display-hero { max-width: 15.5ch; }
.hero__actions { margin-top: clamp(28px, 3vw, 44px); }
.hero__foot {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 28px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}

.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s linear; }
.slide.is-active img { transform: scale(1); }

.slides__bars { display: flex; gap: 10px; }
.slides__bar { position: relative; width: clamp(36px, 4vw, 56px); height: 24px; }
.slides__bar span { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgb(251 248 239 / 0.3); overflow: hidden; }
.slides__bar span::after { content: ''; position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: 0 50%; }
.slides__bar.is-active span::after { animation: bar-fill var(--slide-duration, 6s) linear forwards; }
@keyframes bar-fill { to { transform: scaleX(1); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 14px; }
.hero__scroll::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--paper), transparent); animation: scroll-hint 2.4s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes scroll-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ——— Statement ——— */

.statement__text {
  max-width: 1120px; margin-inline: auto; text-align: center;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 4.4rem); line-height: 1.18; letter-spacing: -0.01em;
}
.word { display: inline-block; will-change: opacity; }

/* ——— Cards ——— */

.card { display: block; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding-top: 18px; }
.card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.7vw, 1.75rem); line-height: 1.15; }
.card__meta { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink-60); }

.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 72px) clamp(16px, 2vw, 28px); }
.grid-cards__cell.is-out { display: none; }

/* ——— Home: approach ——— */

.approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 128px); align-items: end; }
.approach__intro .heading-1 { margin-bottom: 28px; }
.approach__intro .body-lg { max-width: 46ch; margin-bottom: 32px; }
.approach__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.approach__cards .card__media { aspect-ratio: 3 / 4; }
.approach__cards .card:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.approach__cards .card:nth-child(3) { margin-top: clamp(80px, 12vw, 192px); }

/* ——— Home: sectors ——— */

.sectors .container { position: relative; }
.sectors__list { border-bottom: 1px solid var(--line); }
.sectors__row {
  display: grid; grid-template-columns: 64px 1fr auto 32px; align-items: center; gap: 24px;
  padding-block: clamp(18px, 2.2vw, 30px); border-top: 1px solid var(--line);
  transition: opacity 0.5s ease;
}
.sectors__list:hover .sectors__row { opacity: 0.35; }
.sectors__list .sectors__row:hover { opacity: 1; }
.sectors__index { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--red); }
.sectors__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5.6vw, 5.8rem); line-height: 1; transition: transform 0.8s var(--ease-out); }
.sectors__row:hover .sectors__name { transform: translateX(clamp(8px, 1.5vw, 24px)); font-style: italic; }
.sectors__count { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-60); }
.hover-preview {
  position: fixed; top: 0; left: 0; z-index: 20; pointer-events: none;
  width: clamp(220px, 20vw, 320px); aspect-ratio: 4 / 5; overflow: hidden;
  opacity: 0; transform: scale(0.8);
}
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; }
.hover-preview img.is-active { opacity: 1; }
@media (hover: none) { .hover-preview { display: none; } }

/* ——— Section heads ——— */

.section-head { margin-bottom: clamp(40px, 5vw, 80px); }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }

/* ——— Home: recent ——— */

.recent__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 64px); }
.recent__grid .card__media { aspect-ratio: 5 / 4; }
.card--offset { margin-top: clamp(48px, 10vw, 160px); }

/* ——— Home: film strip ——— */

.film { background: var(--black); color: var(--paper); overflow: hidden; }
.film__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 4vw, 56px); padding-block: calc(var(--header-h) + 24px) 48px; }
.film__track { display: flex; gap: clamp(10px, 1.2vw, 18px); width: max-content; height: min(58svh, 42vw); padding-inline: var(--gutter); }
.film__item { flex: none; height: 100%; aspect-ratio: var(--ar); overflow: hidden; }
.film__item img { width: 100%; height: 100%; object-fit: cover; }

/* ——— Home: studio ——— */

.studio__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.studio__box { position: relative; z-index: 1; margin-right: -14%; padding: clamp(36px, 5vw, 80px); background: var(--stone); }
.studio__box > * + * { margin-top: 24px; }
.studio__box .btn { margin-top: 36px; }
.studio__media { aspect-ratio: 4 / 3; overflow: hidden; }
.studio__media img { width: 100%; height: 100%; object-fit: cover; }

/* ——— Home: l'art de voir ——— */

.art { position: relative; min-height: 115svh; display: grid; place-items: center; overflow: hidden; background: var(--paper); color: var(--paper); text-align: center; }
.art__media { position: absolute; inset: 0; clip-path: inset(10% 12%); will-change: clip-path; }
.art__media img { width: 100%; height: 100%; object-fit: cover; }
.art__content { position: relative; max-width: 940px; display: grid; justify-items: center; gap: 32px; padding-block: 120px; }

/* ——— Home: instagram ——— */

.insta__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.insta__tile { aspect-ratio: 1; overflow: hidden; }
.insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s ease; }
.insta__tile:hover img { transform: scale(1.08); filter: brightness(0.85); }

/* ——— Sector pages ——— */

.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.intro__text { display: grid; gap: 20px; max-width: 64ch; }

.strip__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); }
.strip__item { aspect-ratio: 4 / 3; overflow: hidden; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }

.cta { background: var(--stone); }
.cta__inner { max-width: 980px; display: grid; justify-items: center; gap: 28px; text-align: center; }
.cta .lead { color: var(--ink-60); }

/* ——— Projects index ——— */

.index-head { padding-top: calc(var(--header-h) + clamp(48px, 6vw, 96px)); padding-bottom: clamp(48px, 5vw, 72px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 56px); }

/* ——— Project pages ——— */

.phero--split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh;
  padding-top: var(--header-h); background: var(--stone);
}
.phero__media { overflow: hidden; min-height: calc(100svh - var(--header-h)); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(48px, 7vw, 120px) clamp(24px, 6vw, 112px);
}
.phero__text .body-lg { max-width: 52ch; }
.phero__text .body-lg + .body-lg { margin-top: 16px; }

.pintro__inner { max-width: 780px; margin-inline: auto; display: grid; justify-items: center; gap: 18px; text-align: center; }
.pintro .rule { margin-top: 0; }
.prestations { margin-top: 36px; }
.prestations .eyebrow { margin-bottom: 12px; }
.prestations .eyebrow::before { display: none; }
.prestations__list { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--serif); font-size: clamp(1.15rem, 1.4vw, 1.35rem); }
.pintro .prestations__list { justify-content: center; }
.pintro .prestations .eyebrow { margin-inline: auto; }
.prestations__list span[aria-hidden] { color: var(--red); }

.gallery { --g: clamp(8px, 1vw, 16px); padding-block: var(--g); }
.gallery__rows { display: grid; gap: var(--g); padding-inline: var(--g); }
.gallery__row { display: flex; gap: var(--g); }
.gallery__item { min-width: 0; overflow: hidden; background: var(--stone); }
.gallery__open { display: block; width: 100%; cursor: zoom-in; }
.gallery__open img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
.gallery__open:hover img { transform: scale(1.03); }

.quote { margin-block: var(--g); }
.quote__text {
  max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); text-align: center;
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 3.5rem); line-height: 1.22;
}

.pnav__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.pnav__next { position: relative; display: grid; justify-items: end; text-align: right; }
.pnav__next .eyebrow { margin-bottom: 12px; }
.pnav__title { display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1; }
.pnav__title .arrow { width: clamp(32px, 4vw, 64px); height: auto; color: var(--red); }
.pnav__thumb {
  position: absolute; right: 0; bottom: calc(100% + 20px); width: 240px; aspect-ratio: 4 / 3; overflow: hidden;
  clip-path: inset(100% 0 0 0); transition: clip-path 0.9s var(--ease-out); pointer-events: none;
}
.pnav__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pnav__next:hover .pnav__thumb { clip-path: inset(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center;
  background: rgb(16 15 13 / 0.96); color: var(--paper);
}
.lightbox__img { max-width: 90vw; max-height: 84svh; width: auto; height: auto; object-fit: contain; background: none; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; letter-spacing: 0.22em; }
.lightbox__btn { position: absolute; width: 56px; height: 56px; font-size: 1.4rem; transition: color 0.3s ease; }
.lightbox__btn:hover { color: var(--red-60); }
.lightbox__close { top: 16px; right: 16px; font-size: 2rem; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ——— Services ——— */

.phases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 48px); }
.phase__media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 28px; }
.phase__media img { width: 100%; height: 100%; object-fit: cover; }
.phase__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--red); margin-bottom: 6px; }
.phase .heading-3 { margin-bottom: 18px; }
.phase__list li { padding-block: 11px; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--ink-80); }

.facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(40px, 8vw, 140px); }
.fact { padding-top: 28px; border-top: 1px solid var(--line-light); }
.fact .heading-3 { margin-bottom: 14px; }
.fact p { color: rgb(251 248 239 / 0.72); max-width: 52ch; }

.note { max-width: 780px; padding-left: 32px; border-left: 1px solid var(--red); }
.note .heading-2 { margin-bottom: 14px; }

/* ——— À propos ——— */

.about-hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 80px)); }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.stone-box { background: var(--stone); padding: clamp(32px, 4.5vw, 68px); }
.stone-box .body-lg { margin-top: 20px; }
.about-hero__text .btn { margin-top: 36px; }
.about-hero__media { aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.stat__value { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 8.5vw, 8.5rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { margin-top: 14px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(251 248 239 / 0.6); }

.method__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.method__item { padding-top: 28px; border-top: 1px solid var(--line); }
.method__item .heading-3 { margin-bottom: 14px; }
.method__item p:last-child { color: var(--ink-80); }

.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); padding: clamp(8px, 1vw, 16px); }
.triptych__item { aspect-ratio: 4 / 5; overflow: hidden; }
.triptych__item img { width: 100%; height: 100%; object-fit: cover; }

.distinctions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 8vw; }
.distinctions .heading-2 { margin-bottom: 16px; }
.distinctions .body-lg + .body-lg { margin-top: 12px; }

.banner { position: relative; min-height: 82svh; display: grid; place-items: center; overflow: hidden; color: var(--paper); text-align: center; background: var(--black); }
.banner__media { position: absolute; inset: -9% 0; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner__content { position: relative; display: grid; justify-items: center; gap: 36px; padding-block: 120px; }

/* ——— Contact ——— */

.form { display: grid; gap: clamp(40px, 4.4vw, 60px); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 6vw; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field__label { margin-bottom: 16px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-60); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span, button.chip {
  display: inline-block; padding: 11px 18px; border: 1px solid var(--line); background: transparent;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; color: var(--ink-80);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.chip:hover span, button.chip:hover { border-color: var(--black); color: var(--black); }
.chip input:checked + span, button.chip.is-active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); color: var(--black); }
.chip input:focus-visible + span { outline: 1px solid var(--red); outline-offset: 3px; }
.input {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; font-family: var(--serif); font-size: 1.25rem; color: var(--black);
  transition: border-color 0.3s ease;
}
.input::placeholder { color: var(--ink-40); }
.input:focus { outline: none; border-color: var(--black); }
.input--area { resize: vertical; min-height: 120px; line-height: 1.5; }
.field.is-invalid .input, .field.is-invalid .chip span { border-color: var(--red); }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 12px; }
.form__status { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-60); }
.form__status.is-error { color: var(--red); }
.form__status.is-success { color: var(--black); }
.form.is-sending button[type='submit'] { opacity: 0.5; pointer-events: none; }

/* ——— Architecture ——— */

.reels__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); align-items: start; }
.reel { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption {
  position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 16px 18px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  background: linear-gradient(transparent, rgb(16 15 13 / 0.6));
}

/* ——— Legal ——— */

.legal { padding-top: calc(var(--header-h) + clamp(48px, 6vw, 96px)); }
.legal__inner { max-width: 820px; }
.legal .heading-3 { margin: 48px 0 12px; }
.legal p { color: var(--ink-80); }
.legal p + p { margin-top: 8px; }
.legal .btn { margin-top: 32px; }

/* ——— Responsive ——— */

@media (max-width: 1000px) {
  .approach__grid, .intro__grid, .about-hero__grid { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases__grid, .method__grid { grid-template-columns: 1fr; }
  .phase { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 32px; align-items: start; }
  .phase__media { grid-row: span 3; margin-bottom: 0; }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__box { margin: -72px var(--gutter) 0; order: 2; }
  .studio__media { order: 1; }
  .phero--split { grid-template-columns: 1fr; min-height: 0; }
  .phero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .about-hero__media { position: relative; top: 0; order: -1; }
  .reels__grid { grid-template-columns: 1fr 1fr; }
  .reels__grid .reel:first-child { grid-column: 1 / -1; }
  .insta__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .film__pin { min-height: 0; padding-block: var(--section); }
  .film__track { width: auto; height: clamp(260px, 60vw, 460px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .film__track::-webkit-scrollbar { display: none; }
  .film__item { scroll-snap-align: start; }
}

@media (max-width: 700px) {
  .grid-cards, .recent__grid, .facts__grid, .form__row, .form__row--3, .strip__grid, .triptych { grid-template-columns: 1fr; }
  .approach__cards { grid-template-columns: 1fr 1fr; }
  .approach__cards .card:nth-child(n) { margin-top: 0; }
  .approach__cards .card:nth-child(3) { display: none; }
  .card--offset { margin-top: 0; }
  .sectors__row { grid-template-columns: 36px 1fr 28px; gap: 12px; }
  .sectors__count { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .phase { display: block; }
  .phase__media { margin-bottom: 24px; }
  .gallery__row { flex-direction: column; }
  .gallery__item { flex: none !important; }
  .reels__grid { grid-template-columns: 1fr; }
  .pnav__inner { flex-direction: column; align-items: flex-start; }
  .pnav__next { justify-items: start; text-align: left; }
  .pnav__thumb { display: none; }
  .hero__scroll { display: none; }
}
