/* =====================================================================
   INSIGHTS CATERING — STYLES
   Palette: 60% warm ivory · 30% deep espresso · 10% champagne gold
   ===================================================================== */

:root {
  --ivory: #f6f1e9;
  --ivory-2: #efe7da;
  --paper: #fbf8f3;
  --espresso: #211610;
  --espresso-2: #2e2019;
  --ink: #2a211c;
  --muted: #74675d;
  --line: rgba(42, 33, 28, .14);
  --gold: #b8975a;
  --gold-2: #d6bf93;
  --gold-deep: #8f713b;
  --red: #c8202f;

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

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::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(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--gold); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.label {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02; letter-spacing: -.015em; max-width: 14ch;
}
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200, 32, 47, .18); flex: none; }
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--espresso);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 18px 30px; border-radius: 100px; background: var(--bg); color: var(--fg);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--espresso));
  transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, var(--ivory)); }
.btn--gold { --bg: var(--gold); --fg: var(--espresso); --hover: var(--ivory); --hover-fg: var(--espresso); }
.btn--dark { --bg: var(--espresso); --fg: var(--ivory); --hover: var(--gold); --hover-fg: var(--espresso); }
.btn--ghost-light { --bg: transparent; --fg: var(--ivory); --hover: var(--ivory); --hover-fg: var(--espresso); box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .35); }
.btn--small { padding: 12px 20px; font-size: 11px; }
.btn--block { width: 100%; }
.arrow { width: 16px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); flex: none; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 26px; }

/* ---------- Film grain ---------- */
.grain {
  position: absolute; inset: -50%; pointer-events: none; z-index: 1; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}

/* =====================================================================
   LOADER
   ===================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--espresso); color: var(--ivory);
  display: grid; place-items: center;
  animation: loader-failsafe .8s 8s forwards; /* never trap the visitor if a script fails */
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader__flame { width: 54px; overflow: hidden; }
.loader__flame img { width: 100%; }
.loader__word { display: flex; gap: .18em; font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); letter-spacing: .12em; line-height: 1; overflow: hidden; padding-bottom: .05em; }
.loader__word span { display: inline-block; }
.loader__tag { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold-2); }
.loader__count { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + 12px); font-family: var(--serif); font-size: clamp(56px, 10vw, 140px); line-height: .8; font-weight: 400; color: var(--gold-2); }
.loader__count sup { font-size: .3em; vertical-align: top; margin-left: 4px; }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); height: 1px; background: rgba(246, 241, 233, .12); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* =====================================================================
   CURSOR (desktop only)
   ===================================================================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold);
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
    opacity: 0;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(184, 151, 90, .25); }
  .cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); }
  .cursor__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--espresso); opacity: 0; transition: opacity .3s; }
  .cursor.is-view .cursor__label { opacity: 1; }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--ivory);
  transition: transform .6s var(--ease), background-color .5s, color .5s, height .5s var(--ease), box-shadow .5s;
}
.header.is-solid { background: rgba(246, 241, 233, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: var(--ink); height: 70px; box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { position: relative; display: block; height: 52px; aspect-ratio: 988 / 920; transition: height .5s var(--ease); }
.header.is-solid .header__logo { height: 44px; }
.header__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.header .logo-dark { opacity: 0; }
.header.is-solid .logo-dark { opacity: 1; }
.header.is-solid .logo-light { opacity: 0; }
.header__nav { display: none; gap: clamp(18px, 2.2vw, 38px); font-size: 13px; letter-spacing: .08em; }
.header__nav a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s; white-space: nowrap; }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:hover { opacity: 1; }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__cta { display: none; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; }
.lang span { opacity: .4; }
.lang button { opacity: .5; padding: 6px 2px; transition: opacity .3s, color .3s; }
.lang button.is-active { opacity: 1; color: var(--gold); }
.header.is-solid .lang button.is-active { color: var(--gold-deep); }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; }
.burger > span:not(.sr-only) { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1280px) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--espresso); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 30px) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__nav { display: flex; flex-direction: column; gap: 4px; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(34px, 9vw, 64px); line-height: 1.15; border-bottom: 1px solid rgba(246, 241, 233, .1); padding: 8px 0; }
.menu__nav em { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--gold-2); }
body.menu-open .header { color: var(--ivory); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
body.menu-open .header .logo-light { opacity: 1; }
body.menu-open .header .logo-dark { opacity: 0; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; background: var(--espresso); color: var(--ivory);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 28px) 0 100px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 78% 40%, rgba(184, 151, 90, .18), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(200, 32, 47, .08), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: 56px; align-items: center; }
.hero__eyebrow { color: var(--gold-2); margin-bottom: 30px; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 116px); line-height: .98; letter-spacing: -.02em; }
.hero__title em { font-style: italic; color: var(--gold-2); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: block; }
.hero__text { max-width: 46ch; margin-top: 30px; color: rgba(246, 241, 233, .74); font-size: clamp(15px, 1.2vw, 17px); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.hero__arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hero__arch .js-img { position: absolute; left: 0; right: 0; top: -9%; height: 118%; }
.hero__round .js-img { height: 100%; }
.hero__round { position: absolute; left: -9%; bottom: 8%; width: 36%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--espresso); }
.hero__badge { position: absolute; right: -6%; top: 6%; width: 30%; fill: var(--gold-2); font-size: 15.5px; letter-spacing: .2em; font-family: var(--sans); font-weight: 500; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; z-index: 2; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 241, 233, .6); }
.hero__scroll-line { width: 1px; height: 46px; background: rgba(246, 241, 233, .2); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 6vw; }
  .hero__visual { justify-self: end; width: 100%; max-width: 540px; max-height: calc(100svh - 200px); aspect-ratio: 4 / 5; }
  .hero__arch { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 1023px) {
  .hero__visual { width: min(84%, 440px); margin-top: 10px; }
  .hero__badge { width: 34%; right: -8%; }
}

/* =====================================================================
   INTRO
   ===================================================================== */
.intro { padding: clamp(110px, 16vw, 220px) 0; }
.intro__inner { display: grid; gap: 10px; }
.intro__text { font-family: var(--serif); font-size: clamp(30px, 4.3vw, 66px); line-height: 1.14; letter-spacing: -.01em; max-width: 24ch; }
.intro__text .w { display: inline-block; }
@media (min-width: 1024px) { .intro__inner { grid-template-columns: 1fr 3fr; } }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--ivory); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 58px); line-height: 1.1; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { background: var(--ivory-2); position: relative; }
.services__pin { padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); position: relative; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(44px, 6vw, 80px); }
.services__hint { display: none; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.services__track { display: grid; gap: 56px; padding: 0 var(--gutter); }
.card { position: relative; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--ivory); }
.card__media .js-img { height: 100%; }
.card__media img { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.12); }
.card__num { position: absolute; left: 18px; top: 14px; z-index: 2; font-family: var(--serif); font-size: 22px; color: var(--ivory); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.card__tag { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 7px 12px; border-radius: 100px; background: var(--ivory); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; margin: 24px 0 12px; }
.card__text { color: var(--muted); font-size: 15px; max-width: 40ch; }
.services__progress { display: none; }

@media (min-width: 640px) and (max-width: 1023px) { .services__track { grid-template-columns: 1fr 1fr; gap: 56px 28px; } }
/* Desktop without animations (reduced motion, live edit): a simple 3-column grid */
@media (min-width: 1024px) {
  .services__track { grid-template-columns: repeat(3, 1fr); gap: 64px 3vw; max-width: var(--max); margin: 0 auto; }
}
/* Desktop with animations: sideways scrolling row (html.motion is set by main.js) */
@media (min-width: 1024px) {
  .motion .services__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 7vh; overflow: hidden; }
  .motion .services__head { margin-bottom: 4vh; }
  .motion .services__head .h2 { font-size: clamp(38px, 4.4vw, 72px); max-width: 16ch; }
  .motion .services__hint { display: flex; }
  .motion .services__track { display: flex; gap: 3vw; width: max-content; max-width: none; margin: 0; padding-right: 10vw; }
  .motion .card { width: min(28vw, 420px); flex: none; }
  .motion .card:nth-child(even) { margin-top: 6vh; }
  .motion .card__media { aspect-ratio: auto; height: 44vh; }
  .motion .card__title { margin-top: 2.2vh; font-size: clamp(24px, 2vw, 32px); }
  .motion .services__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4vh; height: 1px; background: var(--line); }
  .motion .services__progress span { display: block; height: 100%; background: var(--gold-deep); transform-origin: left; transform: scaleX(0); }
}

/* =====================================================================
   APPROACH
   ===================================================================== */
.approach { padding: clamp(110px, 14vw, 200px) 0; }
.approach__inner { display: grid; gap: 64px; align-items: start; }
.approach__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; max-width: 520px; }
.approach__arch .js-img { height: 100%; }
.steps { margin-top: 56px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 10px 20px; padding: 30px 0; position: relative; }
.step__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.step__num { font-family: var(--serif); font-size: 20px; color: var(--gold-deep); line-height: 1.6; }
.step__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; line-height: 1.2; }
.step__text { grid-column: 2; color: var(--muted); max-width: 46ch; }
@media (min-width: 1024px) {
  .approach__inner { grid-template-columns: 1fr 1.1fr; gap: 8vw; }
  .approach__visual { position: sticky; top: 110px; }
}

/* =====================================================================
   L'ASSIETTE ÉQUILIBRE
   ===================================================================== */
.equilibre { position: relative; overflow: hidden; background: var(--espresso); color: var(--ivory); padding: clamp(110px, 14vw, 200px) 0 clamp(60px, 7vw, 90px); }
.equilibre::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 50%, rgba(184, 151, 90, .16), transparent 70%); pointer-events: none; }
.equilibre__inner { position: relative; z-index: 2; display: grid; gap: 72px; align-items: center; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-2); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 30px; }
.equilibre__title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(48px, 7vw, 110px); line-height: .98; letter-spacing: -.02em; }
.equilibre__by { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.equilibre__slogan { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; margin-top: 44px; color: var(--gold-2); }
.equilibre__text { margin: 18px 0 40px; max-width: 48ch; color: rgba(246, 241, 233, .72); font-weight: 300; }

.equilibre__plate { display: grid; justify-items: center; gap: 36px; }
.plate { position: relative; width: min(100%, 460px); aspect-ratio: 1; display: grid; place-items: center; }
.plate__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(214, 191, 147, .28); stroke-width: 1; overflow: visible; }
.plate__ring .plate__draw { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1087; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: center; }
.plate__center { text-align: center; position: relative; }
.plate__label { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.plate__num { font-family: var(--serif); font-size: clamp(96px, 13vw, 170px); line-height: .9; font-weight: 400; color: var(--ivory); margin: 8px 0 4px; font-variant-numeric: lining-nums tabular-nums; }
.plate__name { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold-2); }
.plate__slogan { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; color: rgba(246, 241, 233, .7); max-width: 24ch; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; }
.chips li { padding: 8px 16px; border-radius: 100px; background: rgba(246, 241, 233, .06); box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .12); font-size: 13px; color: rgba(246, 241, 233, .85); }
.equilibre__note { position: relative; z-index: 2; margin-top: clamp(60px, 8vw, 100px); font-size: 12px; color: rgba(246, 241, 233, .5); font-style: italic; }
@media (min-width: 1024px) { .equilibre__inner { grid-template-columns: 1.1fr .9fr; gap: 6vw; } }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.gallery__head { display: flex; flex-direction: column; margin-bottom: clamp(50px, 7vw, 100px); }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.gallery__col { display: grid; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ivory-2); cursor: zoom-in; display: block; width: 100%; }
.gallery__item img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(33, 22, 16, .35)); opacity: 0; transition: opacity .5s; }
.gallery__item:hover::after { opacity: 1; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .gallery__col { gap: 24px; }
  .gallery__col:nth-child(2) { margin-top: 12vh; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 13, 9, .94); }
.lightbox img { max-width: 88vw; max-height: 84vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__close, .lightbox__nav { position: fixed; color: var(--ivory); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .25); font-size: 28px; line-height: 1; transition: background .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--espresso); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 20px; transform: none; } }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--paper); padding: clamp(110px, 14vw, 200px) 0; border-top: 1px solid var(--line); }
.contact__inner { display: grid; gap: 64px; }
.contact__text { color: var(--muted); max-width: 42ch; margin-top: 26px; }
.contact__info { margin: 40px 0 0; display: grid; gap: 18px; }
.contact__info > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__info > div[hidden] { display: none; }
.contact__info dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.contact__info dd { margin: 0; font-family: var(--serif); font-size: 22px; overflow-wrap: anywhere; }
.contact__img { display: none; margin-top: 50px; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius); }
.contact__img .js-img { height: 100%; }

.form { display: grid; gap: 22px; align-content: start; background: var(--ivory); padding: clamp(22px, 4vw, 52px); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(33, 22, 16, .35); }
.form__row { display: grid; gap: 22px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(42, 33, 28, .25); background: transparent; border-radius: 0;
  padding: 26px 0 10px; font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .4s;
  -webkit-appearance: none; appearance: none; min-height: 58px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field span { position: absolute; left: 0; top: 24px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .4s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--select span, .field--date span { transform: translateY(-20px) scale(.78); color: var(--gold-deep); letter-spacing: .04em; }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 20px; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold-deep); }
.check.is-invalid { color: var(--red); }
.form__status { font-size: 14px; min-height: 1.5em; }
.form__status.is-ok { color: #3c6e47; }
.form__status.is-error { color: var(--red); }
.form__status a { text-decoration: underline; }
.form button[disabled] { opacity: .6; pointer-events: none; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .contact__inner { grid-template-columns: .9fr 1.1fr; gap: 7vw; }
  .contact__img { display: block; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { position: relative; overflow: hidden; background: var(--espresso); color: rgba(246, 241, 233, .78); padding-top: clamp(80px, 10vw, 130px); }
.footer__inner { display: grid; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(246, 241, 233, .1); }
.footer__brand img { width: 120px; margin-bottom: 20px; }
.footer__brand p { font-family: var(--serif); font-size: 22px; color: var(--ivory); max-width: 20ch; }
.footer__nav { display: grid; gap: 10px; font-size: 14px; letter-spacing: .06em; align-content: start; }
.footer__nav a { width: fit-content; transition: color .3s; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__contact { display: grid; gap: 18px; align-content: start; font-family: var(--serif); font-size: 22px; color: var(--ivory); }
.footer__contact > a { width: fit-content; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .2); transition: background .3s, color .3s; }
.socials a:hover { background: var(--gold); color: var(--espresso); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 26px; font-size: 12px; letter-spacing: .06em; color: rgba(246, 241, 233, .5); }
.footer__giant { font-family: var(--serif); font-size: 23vw; line-height: .78; letter-spacing: -.02em; text-align: center; color: rgba(246, 241, 233, .045); user-select: none; margin-bottom: -2vw; white-space: nowrap; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- WhatsApp ---------- */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--espresso); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4); transition: transform .4s var(--ease); }
.whatsapp[hidden] { display: none; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 26px; height: 26px; }

/* ---------- Service galleries & "all work" links ---------- */
.card__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 6px 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid currentColor; transition: color .3s, gap .4s var(--ease); }
.card__more:hover { color: var(--ink); gap: 18px; }
.services__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.btn--outline { --bg: transparent; --fg: var(--ink); --hover: var(--espresso); --hover-fg: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(50px, 7vw, 90px); position: relative; z-index: 2; }
@media (max-width: 1023px) { .services__aside { align-items: flex-start; } .services__head { flex-wrap: wrap; } }

/* ---------- About ---------- */
.about { padding: clamp(110px, 14vw, 200px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.about__head { display: grid; margin-bottom: clamp(50px, 7vw, 90px); }
.about__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 96px); line-height: 1; letter-spacing: -.02em; max-width: 16ch; }
.about__title em { color: var(--gold-deep); }
.about__story { display: grid; gap: 50px; align-items: center; }
.about__copy { display: grid; gap: 18px; max-width: 60ch; }
.about__kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.about__h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; }
.about__copy p:not(.about__kicker) { color: var(--muted); }
.about__badge { justify-self: center; width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 6px; background: var(--espresso); color: var(--ivory); box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--gold); }
.about__num { font-family: var(--serif); font-size: clamp(80px, 9vw, 120px); line-height: .85; color: var(--gold-2); }
.about__num-text { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; max-width: 16ch; margin: 0 auto; }
@media (min-width: 1024px) { .about__story { grid-template-columns: 1.4fr .6fr; gap: 8vw; } }

.mv { display: grid; gap: 22px; margin-top: clamp(70px, 9vw, 120px); }
.mv__card { position: relative; text-align: center; padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 44px); border: 1px solid rgba(143, 113, 59, .35); border-radius: calc(var(--radius) * 3 + 6px); background: var(--ivory); }
.mv__card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(143, 113, 59, .14); border-radius: inherit; pointer-events: none; }
.mv__icon { display: inline-grid; width: 54px; height: 54px; color: var(--gold-deep); margin-bottom: 14px; }
.mv__card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.mv__card p { margin-top: 14px; color: var(--muted); max-width: 40ch; margin-inline: auto; font-size: 16px; }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; } }

.values { margin-top: clamp(70px, 9vw, 120px); }
.values__title { display: flex; align-items: center; gap: 22px; justify-content: center; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: .14em; text-transform: uppercase; margin-bottom: clamp(36px, 5vw, 60px); }
.values__title::before, .values__title::after { content: ""; height: 1px; flex: 1; max-width: 220px; background: linear-gradient(90deg, transparent, var(--gold)); }
.values__title::after { background: linear-gradient(90deg, var(--gold), transparent); }
.values__list { display: grid; gap: 30px 40px; }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.value__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); border: 1px solid rgba(143, 113, 59, .35); background: var(--ivory); transition: background .4s, color .4s; }
.value__icon svg { width: 30px; height: 30px; }
.value:hover .value__icon { background: var(--espresso); color: var(--gold-2); }
.value__title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 6px 0 4px; }
.value__text { color: var(--muted); font-size: 15px; }
@media (min-width: 700px) { .values__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .values__list { grid-template-columns: repeat(4, 1fr); } .value { grid-template-columns: 1fr; } }

/* ---------- Certifications ---------- */
.certs { padding: clamp(90px, 11vw, 150px) 0; background: var(--ivory-2); }
.certs__list { display: grid; gap: 18px; margin-top: 50px; }
.cert { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.cert__icon { width: 44px; height: 44px; color: var(--gold-deep); }
.cert h4 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 6px 0 0; }
.cert p { margin: 0; }
.cert p { color: var(--muted); font-size: 14px; }
@media (min-width: 700px) { .certs__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .certs__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- "Our work" page ---------- */
.work-page { background: var(--ivory); }
.work-header .logo-dark { opacity: 1; }
.work { padding: calc(70px + clamp(60px, 9vw, 120px)) 0 clamp(90px, 12vw, 160px); min-height: 80vh; }
.work__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: .95; letter-spacing: -.02em; }
.work__text { max-width: 52ch; margin-top: 24px; color: var(--muted); }
.work__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(40px, 6vw, 70px) auto 34px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; letter-spacing: .04em; transition: background .3s, color .3s, box-shadow .3s; }
.chip em { font-style: normal; font-size: 11px; color: var(--muted); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.chip.is-active { background: var(--espresso); color: var(--ivory); box-shadow: none; }
.chip.is-active em { color: var(--gold-2); }
.work__grid { columns: 3 300px; column-gap: 18px; }
.work__item { display: block; width: 100%; margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); cursor: zoom-in; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.work__item.is-loaded { opacity: 1; transform: none; }
.work__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.work__item:hover img { transform: scale(1.05); }
.work__empty { color: var(--muted); padding: 40px 0; }
.work-page .header { background: rgba(246, 241, 233, .9); }
@media (max-width: 640px) { .work-header .btn { padding: 10px 14px; } }

/* ---------- WhatsApp numbers ---------- */
.phones { display: grid; gap: 8px; }
.phones[hidden] { display: none; }
.phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.phone small { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer .phone small { color: rgba(246, 241, 233, .5); }

/* ---------- Language switch with flags ---------- */
.lang { gap: 4px; }
.lang button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 7px; border-radius: 100px; }
.lang button.is-active { background: rgba(184, 151, 90, .16); }
[data-lang]::before, [data-flag]::before {
  content: ""; flex: none; width: 18px; height: 12px; border-radius: 2px; background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
[data-lang="fr"]::before, [data-flag="fr"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%230055A4' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23EF4135' d='M2 0h1v2H2z'/%3E%3C/svg%3E");
}
[data-lang="en"]::before, [data-flag="en"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' preserveAspectRatio='xMidYMid slice'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='3' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E");
}
[data-lang="ar"]::before, [data-flag="ar"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath fill='%23E70013' d='M0 0h30v20H0z'/%3E%3Ccircle fill='%23fff' cx='15' cy='10' r='5'/%3E%3Ccircle fill='%23E70013' cx='15' cy='10' r='3.75'/%3E%3Ccircle fill='%23fff' cx='15.95' cy='10' r='3'/%3E%3Cpath fill='%23E70013' d='M14.4 10l1.35-.47.03-1.43.87 1.14 1.37-.42-.82 1.18.82 1.18-1.37-.42-.87 1.14-.03-1.43z'/%3E%3C/svg%3E");
}
.lang button[data-lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--sans); letter-spacing: 0; }

/* Dropdown language menu (header) */
.lang-select { position: relative; }
.lang-select__btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 100px; font-size: 13px; color: inherit;
  box-shadow: inset 0 0 0 1px currentColor; transition: background .3s, box-shadow .3s; }
.lang-select__btn:hover, .lang-select.is-open .lang-select__btn { background: rgba(184, 151, 90, .18); }
.lang-select__current { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lang-select__current[data-flag="ar"] { font-family: "IBM Plex Sans Arabic", var(--sans); }
.lang-select__chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.lang-select.is-open .lang-select__chev { transform: translateY(2px) rotate(-135deg); }
.lang-select__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 190px; padding: 6px; border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; z-index: 60; }
.lang-select.is-open .lang-select__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.lang-select__menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 10px; font-size: 14px; text-align: start; transition: background .2s; }
.lang-select__menu button:hover { background: var(--ivory-2); }
.lang-select__menu button[aria-selected="true"] { background: rgba(184, 151, 90, .16); font-weight: 600; }
.lang-select__menu button[aria-selected="true"]::after { content: "✓"; margin-inline-start: auto; color: var(--gold-deep); }
.lang-select__menu button[data-lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--sans); }
.lang-select__menu [data-lang]::before { width: 22px; height: 15px; }
@media (max-width: 560px) {
  .lang-select__current { font-size: 0; gap: 0; }         /* phones: flag only */
  .lang-select__btn { padding: 9px 11px; gap: 8px; }
}
.menu__foot .lang button { padding: 8px 10px; }

/* ---------- Arabic (right-to-left) ---------- */
html[lang="ar"] body {
  --serif: "Amiri", "Times New Roman", serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] body * { letter-spacing: 0 !important; }   /* spacing breaks Arabic letter joining */
html[lang="ar"] .hero__title, html[lang="ar"] .h2, html[lang="ar"] .about__title, html[lang="ar"] .equilibre__title,
html[lang="ar"] .intro__text, html[lang="ar"] .work__title { line-height: 1.3; }
html[lang="ar"] .line { padding-bottom: .22em; margin-bottom: -.12em; }
html[lang="ar"] .hero__title em, html[lang="ar"] .about__title em, html[lang="ar"] .equilibre__title { font-style: normal; }
html[lang="ar"] .label, html[lang="ar"] .eyebrow, html[lang="ar"] .btn, html[lang="ar"] .card__more { font-size: 14px; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .field span { left: auto; right: 0; transform-origin: right top; }
[dir="rtl"] .field--select::after { right: auto; left: 4px; }
[dir="rtl"] .marquee__track { direction: ltr; }
[dir="rtl"] .marquee__track span { direction: rtl; }
/* sideways services row: anchor the row on the left like in French, keep the texts right-to-left */
html[dir="rtl"].motion .services__pin { direction: ltr; }
html[dir="rtl"].motion .services__head, html[dir="rtl"].motion .card { direction: rtl; }
[dir="rtl"] .phone a, [dir="rtl"] .js-email { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .hero__scroll { left: auto; right: var(--gutter); }
[dir="rtl"] .whatsapp { right: auto; left: 20px; }

/* ---------- Photo fit: "Whole photo" shows the entire image over a blurred copy of itself ---------- */
.js-img { position: relative; overflow: hidden; }
.hero__arch .js-img { position: absolute; }
.js-img.is-contain { background: var(--espresso-2); }
.js-img.is-contain::before { content: ""; position: absolute; inset: -40px; background: var(--photo-bg) center / cover no-repeat; filter: blur(26px) saturate(1.15); opacity: .7; transform: scale(1.1); }
.js-img.is-contain img { position: relative; z-index: 1; object-fit: contain !important; }

/* ---------- Image helpers ---------- */
.js-img img { width: 100%; height: 100%; object-fit: cover; }
.reveal-img { overflow: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html:not(.force-motion) .marquee__track { animation: none; }
}
