/* ==========================================================================
   anoma. — De la vision à l'identité
   Design system + sections
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --night: #1b1818;
  --ink: #262323;
  --ink-2: #2f2a2a;
  --ink-3: #3a3433;
  --cream: #f5eee2;
  --paper: #ece2d1;
  --sand: #dfd5c3;
  --tan: #c4a27e;
  --copper: #9b6c4b;
  --copper-2: #b88560;

  --sans: "Outfit Variable", "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(120px, 16vw, 280px);
  --radius: clamp(16px, 1.6vw, 28px);
  --nav-h: 76px;

  /* theme (dark by default) */
  --bg: var(--ink);
  --fg: var(--cream);
  --fg-muted: rgba(245, 238, 226, 0.62);
  --fg-soft: rgba(245, 238, 226, 0.4);
  --line: rgba(245, 238, 226, 0.14);
  --accent: var(--tan);
}

.theme-dark {
  --bg: var(--ink);
  --fg: var(--cream);
  --fg-muted: rgba(245, 238, 226, 0.64);
  --fg-soft: rgba(245, 238, 226, 0.4);
  --line: rgba(245, 238, 226, 0.14);
  --accent: var(--tan);
  background-color: var(--bg);
  color: var(--fg);
}

.theme-light {
  --bg: var(--cream);
  --fg: var(--ink);
  --fg-muted: rgba(38, 35, 35, 0.66);
  --fg-soft: rgba(38, 35, 35, 0.42);
  --line: rgba(38, 35, 35, 0.14);
  --accent: var(--copper);
  background-color: var(--bg);
  color: var(--fg);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: clamp(16px, 0.35vw + 14.6px, 18px);
  font-weight: 350;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--copper); color: var(--cream); }
:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 4px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 2000;
  background: var(--cream); color: var(--ink); padding: 12px 18px; border-radius: 999px;
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1720px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--copper-2) 22%, transparent);
}
.h1, .h2, .h3, .display {
  font-weight: 700; letter-spacing: -0.045em; line-height: 0.94; text-wrap: balance;
}
.h2 { font-size: clamp(2.6rem, 6.2vw, 7rem); }
.h3 { font-size: clamp(1.9rem, 3.4vw, 3.6rem); letter-spacing: -0.035em; line-height: 1; }
em, .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; color: var(--accent);
}
.h2 em, .h3 em, .display em { font-size: 1.08em; line-height: 0.8; }
.lead { font-size: clamp(1.1rem, 1.25vw, 1.35rem); line-height: 1.5; color: var(--fg-muted); max-width: 38ch; }
.muted { color: var(--fg-muted); }
.copper-dot {
  display: inline-block; width: 0.17em; height: 0.17em; border-radius: 50%;
  background: var(--copper); margin-left: 0.05em; vertical-align: baseline;
}

/* SplitText helpers */
.split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.char, .word { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-hover: var(--copper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 10px 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 15.5px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-hover);
  transform: translateY(101%); transition: transform 0.6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { --btn-fg: var(--cream); }
.btn__icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--btn-fg); color: var(--btn-bg-solid, var(--ink));
  transition: transform 0.6s var(--ease-out), background-color 0.5s;
}
.btn__icon svg { width: 14px; height: 14px; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bg-solid: var(--cream); }
.btn--cream .btn__icon { background: var(--ink); color: var(--cream); }
.btn--cream:hover .btn__icon { background: var(--cream); color: var(--copper); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bg-solid: var(--ink); }
.btn--ink .btn__icon { background: var(--cream); color: var(--ink); }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line); padding: 0 28px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px transparent; }
.btn--sm { height: 46px; padding: 0 8px 0 22px; font-size: 14.5px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--block { width: 100%; }

/* letter roll */
.roll { display: inline-flex; overflow: hidden; line-height: 1.25; height: 1.25em; }
.roll__c {
  display: inline-block; white-space: pre;
  text-shadow: 0 1.25em 0 currentColor;
  transition: transform 0.55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 14ms);
}
a:hover > .roll .roll__c, button:hover > .roll .roll__c,
a:hover .roll .roll__c, button:hover .roll .roll__c,
.roll-host:hover .roll .roll__c { transform: translateY(-1.25em); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15.5px;
  padding-bottom: 6px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(0); transform-origin: left; }
.link-arrow svg { width: 13px; height: 13px; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 450; color: var(--fg);
  white-space: nowrap;
}

/* ---------- Grain + cursor ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 900; pointer-events: none;
  background-image: url("../img/grain.png"); background-size: 220px;
  opacity: 0.045; animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); }
  33% { transform: translate(5%, -8%); } 50% { transform: translate(-9%, -3%); }
  67% { transform: translate(8%, 7%); } 83% { transform: translate(-3%, 9%); }
  100% { transform: translate(0, 0); }
}

.cursor { display: none; position: fixed; left: 0; top: 0; z-index: 1100; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { html.has-cursor .cursor { display: block; } }
.cursor__dot { display: none; }
.cursor__ring {
  position: fixed; left: 0; top: 0; margin: 22px 0 0 16px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--copper); color: var(--cream); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
  opacity: 0; scale: 0.6; transform-origin: 0 0;
  transition: opacity 0.35s var(--ease-out), scale 0.5s var(--ease-back);
}
.cursor__ring::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); }
.cursor__label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.cursor.is-label .cursor__ring { opacity: 1; scale: 1; }
.glow-unused {
  position: fixed; left: 0; top: 0; z-index: 2; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 0.8s;
  background: radial-gradient(circle, rgba(196, 162, 126, 0.13), rgba(196, 162, 126, 0.04) 40%, transparent 68%);
}
html.has-cursor .glow-unused { opacity: 1; }

/* ---------- Loader ---------- */
.loader { display: none; }
html.is-loading .loader { display: block; }
html.is-loading body { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.loader::after { content: ""; position: absolute; inset: 0; background: url("../img/grain.png"); background-size: 220px; opacity: 0.06; pointer-events: none; }
.loader__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loader__bg { fill: var(--ink); }
.loader__word { fill: var(--cream); }
.loader__dot { fill: var(--copper-2); }
.loader__picto {
  fill: var(--cream); fill-opacity: 0;
  stroke: var(--cream); stroke-width: 0.7; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round;
}
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: flex; justify-content: space-between; align-items: flex-end;
  color: rgba(245, 238, 226, 0.6); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}
.loader__count { font-variant-numeric: tabular-nums; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.04em; color: var(--cream); line-height: 0.8; font-weight: 300; }

/* ---------- Page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 1150; pointer-events: none; display: none; }
html.is-entering .curtain, .curtain.is-active { display: block; }
.curtain__rot { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(-32deg); }
.curtain__panel {
  position: absolute; left: -150vmax; top: -150vmax; width: 300vmax; height: 300vmax;
  background: var(--ink);
}
.curtain__panel--a { background: var(--tan); }
.curtain__picto {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  fill: var(--cream); opacity: 0;
}
html.is-entering .curtain__picto { opacity: 1; }

/* ---------- Hidden initial states (only when motion is on) ---------- */
html.js:not(.no-motion) [data-reveal],
html.js:not(.no-motion) [data-hero-fade] { opacity: 0; }
html.js:not(.no-motion) [data-split] { visibility: hidden; }
html.js:not(.no-motion) [data-nav-intro] { opacity: 0; }
html.js:not(.no-motion) [data-hero-title] { visibility: hidden; }
html.js:not(.no-motion) [data-page-title] { visibility: hidden; }
.work.is-flipping { z-index: 960; }
.work.is-flipping .work__media { overflow: visible; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-hero-fade], html.js [data-nav-intro] { opacity: 1 !important; }
  html.js [data-split] { visibility: visible !important; }
  .grain { animation: none; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  --nav-fg: var(--cream);
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter); color: var(--nav-fg);
  transition: color 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.nav[data-theme="light"] { --nav-fg: var(--ink); }
.nav.is-hidden { transform: translateY(-110%); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 70%, transparent), transparent);
  opacity: 0; transition: opacity 0.5s, background 0.5s;
}
.nav[data-theme="light"]::before { background: linear-gradient(to bottom, color-mix(in srgb, var(--cream) 82%, transparent), transparent); }
.nav.is-scrolled::before { opacity: 1; }
.nav__logo { display: block; width: clamp(96px, 8vw, 124px); color: var(--nav-fg); }
.nav__logo svg { width: 100%; height: auto; fill: currentColor; overflow: visible; --logo-dot: var(--copper-2); }
.logo-dot { fill: var(--logo-dot, var(--copper)); }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 44px); font-size: 15px; font-weight: 450; }
.nav__links a { position: relative; padding-block: 8px; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--copper-2); transform: scale(0); transition: transform 0.4s var(--ease-back);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scale(1); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__time { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: 0.06em; opacity: 0.75; font-variant-numeric: tabular-nums; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #7fbf7a; box-shadow: 0 0 0 0 rgba(127, 191, 122, 0.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(127, 191, 122, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(127, 191, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 191, 122, 0); } }
.nav .btn--cream { --btn-bg: var(--nav-fg); --btn-fg: var(--nav-btn-fg, var(--ink)); }
.nav[data-theme="light"] .btn--cream { --nav-btn-fg: var(--cream); }
.nav[data-theme="light"] .btn--cream .btn__icon { background: var(--cream); color: var(--ink); }
.nav__burger {
  display: none; width: 48px; height: 48px; border-radius: 50%; position: relative;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nav-fg) 30%, transparent);
}
.nav__burger span:not(.sr-only) {
  position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.6s var(--ease-out), top 0.6s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 20px; }
.nav__burger span:nth-child(2) { top: 27px; }
.menu-open .nav__burger span:nth-child(1) { top: 23.5px; transform: rotate(32deg); }
.menu-open .nav__burger span:nth-child(2) { top: 23.5px; transform: rotate(-32deg); }

@media (max-width: 1080px) {
  .nav__links, .nav__time { display: none; }
}
@media (max-width: 720px) {
  .nav .btn--cream { display: none; }
  .nav__burger { display: block; }
  :root { --nav-h: 68px; }
}
@media (min-width: 721px) and (max-width: 1080px) {
  .nav__burger { display: block; }
}

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 790; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 32px; visibility: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
.menu__links { display: flex; flex-direction: column; gap: 2px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.6rem, 11vw, 5.6rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; overflow: hidden;
}
.menu__links a > span { display: inline-block; }
.menu__num { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--fg-soft); font-family: var(--sans); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; color: var(--fg-muted); }
.menu__picto { position: absolute; right: -14vw; bottom: 8vh; width: 70vw; max-width: 520px; fill: none; stroke: var(--line); stroke-width: 0.25; pointer-events: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 4vh);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(196, 162, 126, 0.12), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(155, 108, 75, 0.14), transparent 70%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback {
  position: absolute; right: 8vw; top: 50%; width: min(42vw, 60vh); transform: translateY(-55%);
  fill: var(--cream); opacity: 0.9; display: none;
}
.no-webgl .hero__fallback { display: block; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: clamp(28px, 4vh, 48px); padding-bottom: clamp(20px, 3vh, 36px); }
.hero__title {
  font-size: clamp(3.5rem, 10.6vw, 13rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.88;
  max-width: 12ch;
}
.hero__title .line { display: block; }
.hero__title em { color: var(--tan); font-size: 1.07em; padding-right: 0.04em; }
.hero__title .copper-dot { width: 0.16em; height: 0.16em; background: var(--copper-2); }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero__lead { font-size: clamp(1.05rem, 1.2vw, 1.3rem); color: var(--fg-muted); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__strip {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 28px;
  padding-block: 22px 26px; border-top: 1px solid var(--line);
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted);
}
.hero__strip .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-soft); }
.hero__coords { margin-left: auto; font-variant-numeric: tabular-nums; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 34px; background: var(--line); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cream);
  animation: scrollhint 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollhint { 0% { top: -40%; } 60%, 100% { top: 100%; } }

@media (max-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__coords { display: none; }
}
@media (max-width: 560px) {
  .hero__inner { gap: 22px; }
  .hero__lead { font-size: 1rem; }
  .hero__strip { gap: 14px; letter-spacing: 0.14em; padding-block: 16px 18px; }
  .hero__strip .hero__scroll span { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__ctas .btn--ghost { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 56px); border-block: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__item {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px);
  font-size: clamp(2.8rem, 7.4vw, 8rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; white-space: nowrap;
}
.marquee__item .o { -webkit-text-stroke: 1px var(--fg-soft); color: transparent; }
.marquee__item em { color: var(--accent); }
.marquee__item svg { width: 0.62em; height: 0.62em; fill: var(--copper-2); flex: none; }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto__grid { display: grid; grid-template-columns: minmax(160px, 1fr) 4fr; gap: 40px; }
.manifesto__text {
  font-size: clamp(1.75rem, 3.55vw, 4.1rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12;
  text-wrap: pretty;
}
.manifesto__text em { color: var(--tan); }
.chip-img {
  display: inline-block; width: 1.9em; height: 0.92em; border-radius: 999px; overflow: hidden;
  vertical-align: -0.08em; margin-inline: 0.06em; background: var(--ink-3);
}
.chip-img img { width: 100%; height: 100%; object-fit: cover; }
.pillars { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: clamp(56px, 7vw, 110px); }
.pillar { padding-top: 22px; border-top: 1px solid var(--line); }
.pillar h3 { font-size: clamp(1.25rem, 1.6vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.pillar h3 span { font-size: 13px; color: var(--fg-soft); font-weight: 450; letter-spacing: 0.08em; }
.pillar p { color: var(--fg-muted); }
@media (max-width: 900px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .pillars { grid-column: 1; grid-template-columns: 1fr; }
}

/* ==========================================================================
   CHAT SECTION
   ========================================================================== */
.chatsec__grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(40px, 7vw, 140px); align-items: center; }
.chatsec__copy { display: grid; gap: 28px; align-content: center; }
.chatsec__copy .h2 { max-width: 13ch; }
.chatsec__note { display: flex; gap: 14px; align-items: center; color: var(--fg-muted); font-size: 14px; }
.chatsec__note svg { width: 22px; fill: var(--copper-2); flex: none; }

.phone {
  position: relative; width: 100%; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #3b3534, #221f1f 60%);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(245, 238, 226, 0.08);
}
.phone__screen { border-radius: 31px; overflow: hidden; background: #1f1c1c; display: flex; flex-direction: column; height: min(640px, 74vh); }
.phone__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(245, 238, 226, 0.07); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 600; }
.avatar--s { background: #9a8d80; color: #fff; font-size: 17px; }
.avatar--a { background: var(--cream); }
.avatar--a svg { width: 24px; fill: var(--ink); }
.phone__who { display: grid; line-height: 1.25; }
.phone__who strong { font-weight: 600; font-size: 15.5px; }
.phone__who small { color: #8fc58a; font-size: 12.5px; }
.phone__body { flex: 1; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; justify-content: flex-end; }
.phone__input { margin: 0 12px 12px; height: 46px; border-radius: 999px; background: rgba(245, 238, 226, 0.06); display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 18px; color: rgba(245, 238, 226, 0.4); font-size: 14px; }
.phone__send { width: 34px; height: 34px; border-radius: 50%; background: var(--copper); display: grid; place-items: center; }
.phone__send svg { width: 14px; fill: var(--cream); }

.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.msg--out { align-self: flex-end; flex-direction: row-reverse; }
.msg .avatar { width: 28px; height: 28px; font-size: 13px; }
.msg .avatar--a svg { width: 18px; }
.bubble {
  position: relative; padding: 11px 14px; border-radius: 20px; font-size: 14.5px; line-height: 1.42;
}
.msg--in .bubble { background: #f1ede6; color: #2a2626; border-bottom-left-radius: 6px; }
.msg--out .bubble { background: var(--cream); color: var(--ink); border-bottom-right-radius: 6px; }
.bubble strong { display: block; font-weight: 650; font-size: 15px; margin-bottom: 2px; }
.bubble__imgs { display: flex; gap: 8px; margin-top: 10px; }
.bubble__imgs img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.bubble__photo { margin: -4px -6px 8px; border-radius: 14px; overflow: hidden; }
.bubble__photo img { width: 100%; height: 150px; object-fit: cover; }
.bubble__ticks { display: inline-flex; vertical-align: -2px; margin-left: 6px; color: #b8b1a6; transition: color 0.6s; }
.bubble__ticks svg { width: 17px; height: 12px; }
.bubble__ticks.is-read { color: var(--copper); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 20px; background: #f1ede6; }
.msg--out .typing { background: var(--cream); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9187; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
html.js:not(.no-motion) [data-msg] { display: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-msg] { display: flex !important; } [data-msg] .typing { display: none; } }
.msg__typing { display: none; }

@media (max-width: 900px) {
  .chatsec__grid { grid-template-columns: 1fr; }
  .phone { max-width: 420px; margin-inline: auto; }
  .phone__screen { height: 560px; }
}

/* ==========================================================================
   VISION → IDENTITÉ (the dot)
   ========================================================================== */
.vision { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.vision__stage { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding-inline: var(--gutter); }
.vision__text {
  font-size: clamp(2.6rem, 8.2vw, 9.6rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95;
  display: flex; flex-direction: column; align-items: center; gap: 0.06em;
}
.vision__text em { color: var(--tan); }
.vision__arrow { width: clamp(80px, 12vw, 200px); height: auto; stroke: var(--copper-2); stroke-width: 2; fill: none; overflow: visible; }
.vision__to { position: relative; }
.vision__dot { display: inline-block; width: 0.17em; height: 0.17em; border-radius: 50%; background: var(--copper-2); margin-left: 0.04em; }
.vision__flood { position: absolute; inset: 0; background: var(--cream); clip-path: circle(0px at 50% 50%); pointer-events: none; }
.vision__after {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink); pointer-events: none;
  padding-inline: var(--gutter);
}
.vision__after p { font-size: clamp(1rem, 1.3vw, 1.3rem); color: rgba(38, 35, 35, 0.66); max-width: 32ch; margin: 20px auto 0; }
.vision__after h2 { font-size: clamp(2.4rem, 6.4vw, 7rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; }
.vision__after h2 em { color: var(--copper); }
html.js:not(.no-motion) .vision__after > div > * { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .vision__flood, .vision__after { display: none; } }
html.no-motion .vision__flood, html.no-motion .vision__after { display: none; }

/* ==========================================================================
   SECTION HEAD
   ========================================================================== */
.sec-head { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 28px 40px; margin-bottom: clamp(48px, 7vw, 110px); }
.sec-head .eyebrow { padding-top: 0.9em; align-self: start; }
.sec-head__main { display: grid; gap: 24px; }
.sec-head__aside { color: var(--fg-muted); max-width: 42ch; font-size: clamp(1.02rem, 1.1vw, 1.2rem); }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--center .eyebrow { padding-top: 0; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } .sec-head .eyebrow { padding-top: 0; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line); position: relative; }
.svc__row {
  position: relative; width: 100%; display: grid; grid-template-columns: 70px 1fr auto 56px; align-items: center; gap: 20px;
  padding-block: clamp(20px, 2.4vw, 34px); text-align: left; isolation: isolate;
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink);
  clip-path: inset(100% 0 0 0); transition: clip-path 0.7s var(--ease-out);
}
.svc__num { font-size: 13px; letter-spacing: 0.12em; color: var(--fg-soft); font-variant-numeric: tabular-nums; transition: color 0.5s; }
.svc__name {
  font-size: clamp(2rem, 5.4vw, 5.8rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95;
  transition: transform 0.7s var(--ease-out), color 0.5s;
}
.svc__name em { font-size: 1.04em; }
.svc__tags { font-size: 14px; color: var(--fg-muted); text-align: right; transition: color 0.5s; }
.svc__icon {
  width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative;
  transition: transform 0.6s var(--ease-out), background-color 0.5s, box-shadow 0.5s;
}
.svc__icon::before, .svc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -0.75px 0 0 -8px; background: currentColor;
  transition: transform 0.6s var(--ease-out);
}
.svc__icon::after { transform: rotate(90deg); }
.svc.is-open .svc__icon::after { transform: rotate(0deg); }
.svc.is-open .svc__icon { transform: rotate(180deg); }

@media (hover: hover) {
  .svc__row:hover::before { clip-path: inset(0 0 0 0); }
  .svc__row:hover { color: var(--cream); }
  .svc__row:hover .svc__name { transform: translateX(clamp(8px, 1.6vw, 28px)); }
  .svc__row:hover .svc__num, .svc__row:hover .svc__tags { color: rgba(245, 238, 226, 0.7); }
  .svc__row:hover .svc__icon { background: var(--copper); box-shadow: none; }
  .svc__row:hover .svc__name em { color: var(--tan); }
}
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.svc.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel-inner { overflow: hidden; }
.svc__content {
  display: grid; grid-template-columns: 70px 1.2fr 1fr; gap: 20px; padding: 6px 0 clamp(28px, 3vw, 44px);
}
.svc__content > p { grid-column: 2; font-size: clamp(1.05rem, 1.3vw, 1.35rem); color: var(--fg-muted); max-width: 46ch; }
.svc__side { display: grid; gap: 20px; align-content: start; }
.svc__mimg { display: none; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.svc__mimg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .svc__row { grid-template-columns: 34px 1fr 44px; gap: 12px; }
  .svc__tags { display: none; }
  .svc__icon { width: 44px; height: 44px; }
  .svc__content { grid-template-columns: 1fr; }
  .svc__content > p { grid-column: 1; }
  .svc__mimg { display: block; }
}
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(240px, 21vw, 360px); aspect-ratio: 4 / 5; margin: calc(clamp(240px, 21vw, 360px) * -0.625) 0 0 calc(clamp(240px, 21vw, 360px) * -0.5);
  border-radius: 22px; overflow: hidden; opacity: 0; transform: scale(0.4);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.svc-preview img.is-active { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 0.8s var(--ease-out); }
@media (hover: none), (max-width: 900px) { .svc-preview { display: none; } }

/* ==========================================================================
   PROJECTS — intro + SHOKAI horizontal case
   ========================================================================== */
.projects-head { padding-top: var(--section); }
.case { position: relative; }
.case__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.case__track { display: flex; align-items: center; gap: clamp(28px, 4.5vw, 88px); padding-inline: var(--gutter) 12vw; height: 100%; will-change: transform; }
.case__panel { flex: none; position: relative; }
.case__intro { width: min(46vw, 760px); display: grid; gap: 28px; align-content: center; }
.case__client { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); }
.case__title { font-size: clamp(4rem, 12vw, 14rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.82; }
.case__title em { color: var(--copper); font-size: 0.98em; }
.case__meta { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; justify-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.case__meta dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.case__meta dd { margin: 0; font-weight: 500; }
.case__shot { display: grid; gap: 22px; height: min(68vh, 700px); grid-template-rows: auto 1fr; }
.case__media { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.case__media img { position: absolute; top: 0; left: -8%; width: 116%; max-width: none; height: 100%; object-fit: cover; }
.case__cap { order: -1; display: grid; gap: 8px; align-content: start; }
.case__cap b { font-size: 12.5px; letter-spacing: 0.18em; color: var(--copper); font-weight: 600; }
.case__cap span { font-weight: 700; font-size: clamp(2rem, 3.4vw, 3.6rem); letter-spacing: -0.045em; line-height: 0.95; }
.case__cap small { color: var(--fg-muted); font-size: 15px; }
.case__shot--tall { aspect-ratio: 0.62; }
.case__shot--mid { aspect-ratio: 0.82; }
.case__shot--wide { aspect-ratio: 1.45; }
.case__shot--xwide { aspect-ratio: 2.1; }
.case__shot--hd { aspect-ratio: 1.78; }
.case__bubble {
  width: min(30vw, 420px); display: grid; gap: 14px; align-content: center; height: min(70vh, 720px);
}
.case__bubble .msg { max-width: 100%; }
.case__bubble .bubble { font-size: clamp(15px, 1.15vw, 18px); padding: 16px 18px; }
.case__quote {
  width: min(44vw, 680px); display: grid; gap: 24px; align-content: center;
}
.case__quote p { font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.case__quote p em { color: var(--copper); }
.case__end { width: min(36vw, 560px); display: grid; gap: 26px; align-content: center; }
.case__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 3.5vh, 36px);
  display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--fg-muted); letter-spacing: 0.06em;
}
.case__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.case__bar i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.case__bar b { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--copper); margin-left: -5px; }

@media (max-width: 900px) {
  .case__pin { height: auto; display: block; }
  .case__track { flex-direction: column; align-items: stretch; height: auto; padding-inline: var(--gutter); gap: 48px; padding-block: 24px 64px; }
  .case__intro, .case__bubble, .case__quote, .case__end { width: 100%; height: auto; }
  .case__shot { height: auto; aspect-ratio: auto !important; }
  .case__media { aspect-ratio: 4 / 5; height: auto; }
  .case__shot--wide .case__media, .case__shot--xwide .case__media, .case__shot--hd .case__media { aspect-ratio: 16 / 10; }
  .case__media img { left: 0; width: 100%; }
  .case__progress { display: none; }
  .case__meta { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   WORKS GRID + SOCIAL
   ========================================================================== */
.works { padding-block: clamp(80px, 10vw, 160px) 0; }
.works__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.works__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 28px); }
.work { position: relative; display: grid; gap: 14px; align-content: start; }
.work__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.work:hover .work__media img { transform: scale(1.02); }
.work__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.work__meta h3 { font-size: clamp(1.15rem, 1.45vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.work__meta p { font-size: 14px; color: var(--fg-muted); text-align: right; }
.work__badge {
  position: absolute; left: 14px; top: 14px; z-index: 2; height: 30px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  background: rgba(245, 238, 226, 0.9); color: var(--ink); backdrop-filter: blur(6px);
}
.work--1 { grid-column: 1 / span 3; } .work--1 .work__media { aspect-ratio: 4 / 5; }
.work--2 { grid-column: 4 / span 3; margin-top: clamp(40px, 7vw, 120px); } .work--2 .work__media { aspect-ratio: 4 / 5; }
.work--3 { grid-column: 7 / span 3; } .work--3 .work__media { aspect-ratio: 4 / 5; }
.work--4 { grid-column: 10 / span 3; margin-top: clamp(40px, 7vw, 120px); }
.work--5 { grid-column: 2 / span 6; } .work--5 .work__media { aspect-ratio: 1; }
.work--6 { grid-column: 8 / span 5; margin-top: clamp(40px, 6vw, 100px); } .work--6 .work__media { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .works__grid { grid-template-columns: 1fr 1fr; }
  .work { grid-column: auto / span 2 !important; margin-top: 0 !important; }
}

/* 3D business card */
.card3d { perspective: 1400px; }
.card3d__stage {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--ink); overflow: hidden;
  display: grid; place-items: center; perspective: 1100px;
}
.card3d__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(196, 162, 126, 0.16), transparent 70%); }
.card3d__tilt { width: 74%; transform-style: preserve-3d; }
.card3d__card {
  position: relative; width: 100%; aspect-ratio: 1039 / 685; transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-18deg) rotateZ(4deg);
  transition: transform 1.1s var(--ease-out);
}
.card3d__face {
  position: absolute; inset: 0; border-radius: 4.5% / 6.8%; overflow: hidden; backface-visibility: hidden;
  box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.7);
}
.card3d__face img { width: 100%; height: 100%; object-fit: cover; }
.card3d__face--back { transform: rotateY(180deg); }
.card3d__glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 48%, transparent 62%); mix-blend-mode: screen; pointer-events: none; }
.card3d__hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245, 238, 226, 0.5); }
.card3d.is-flipped .card3d__card { transform: rotateX(8deg) rotateY(162deg) rotateZ(-3deg); }

/* Social: stories + feed */
.social { display: grid; grid-template-columns: 1fr auto; max-width: 1180px; gap: clamp(28px, 4vw, 72px); align-items: center; padding-block: clamp(90px, 12vw, 190px) var(--section); }
.social__copy { display: grid; gap: 22px; align-content: center; }
.stories {
  position: relative; width: clamp(260px, 26vw, 380px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden;
  background: var(--ink); box-shadow: 0 50px 90px -30px rgba(38, 35, 35, 0.55), 0 0 0 8px var(--ink), 0 0 0 9px rgba(38, 35, 35, 0.25);
}
.stories__item { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.6s, transform 1.2s var(--ease-out); }
.stories__item.is-active { opacity: 1; transform: none; }
.stories__bars { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 3; display: flex; gap: 4px; }
.stories__bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(245, 238, 226, 0.3); overflow: hidden; }
.stories__bars i { display: block; height: 100%; width: 100%; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.stories__nav { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; }
.stories__nav button { height: 100%; }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.feed__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--paper); }
.feed__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.feed__item:hover img { transform: scale(1.06); }
.feed__item:first-child { border-top-left-radius: 18px; }
.feed__item:nth-child(3) { border-top-right-radius: 18px; }
.feed__item:nth-child(4) { border-bottom-left-radius: 18px; }
.feed__item:nth-child(6) { border-bottom-right-radius: 18px; }
@media (max-width: 1100px) {
  .social { grid-template-columns: 1fr 1fr; }
  .social__copy { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .social { grid-template-columns: 1fr; justify-items: center; }
  .stories { width: min(78vw, 320px); }
  .feed { width: 100%; }
}

/* ==========================================================================
   TEXTILE
   ========================================================================== */
.textile__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.textile__media { position: absolute; inset: 0; z-index: 1; clip-path: inset(50% 50% 50% 50% round 28px); }
.textile__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
html.no-motion .textile__media { clip-path: none; }
html.no-motion .textile__media img { transform: none; }
html.no-motion .textile__title { display: none; }
@media (prefers-reduced-motion: reduce) { .textile__media { clip-path: none; } .textile__media img { transform: none; } .textile__title { display: none; } }
.textile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 24, 24, 0.75), rgba(27, 24, 24, 0.05) 55%); opacity: 0; }
.textile__title {
  position: relative; z-index: 2; display: flex; font-size: clamp(4.6rem, 19vw, 22rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
  color: transparent; pointer-events: none; text-transform: uppercase;
  background: url("../img/serigraphie.webp") 50% 45% / cover; -webkit-background-clip: text; background-clip: text;
}
.textile__title span { display: block; }
.textile__over {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 64px); z-index: 3; color: var(--cream);
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
}
.textile__over h2, .textile__over h3 { font-size: clamp(2.2rem, 5.4vw, 6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; }
.textile__over h2 em, .textile__over h3 em { color: var(--tan); }
.textile__over p { max-width: 36ch; color: rgba(245, 238, 226, 0.75); }
html.js:not(.no-motion) .textile__over > * { opacity: 0; }
.textile__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); padding-block: var(--section); align-items: start; }
.textile__copy { display: grid; gap: 30px; position: sticky; top: calc(var(--nav-h) + 40px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  height: 46px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(38, 35, 35, 0.35);
  font-size: 15px; font-weight: 450; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-back);
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.promise svg { width: 26px; height: 26px; stroke: var(--copper); fill: none; stroke-width: 1.5; }
.promise b { display: block; font-weight: 600; }
.promise span { color: var(--fg-muted); font-size: 15px; }
.textile__gallery { display: grid; gap: clamp(16px, 2vw, 28px); }
.textile__gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; }
.textile__gallery img { width: 100%; height: 100%; object-fit: cover; }
.textile__gallery .g1 { aspect-ratio: 1; }
.textile__gallery .g2 { aspect-ratio: 3 / 2; width: 82%; margin-left: auto; }
.textile__gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center;
  background: rgba(38, 35, 35, 0.72); color: var(--cream); font-size: 12.5px; backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
  .textile__body { grid-template-columns: 1fr; }
  .textile__copy { position: static; }
  
}

/* ==========================================================================
   METHOD
   ========================================================================== */
.method__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 140px); }
.method__aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; display: grid; gap: 28px; }
.method__steps { position: relative; display: grid; gap: clamp(90px, 14vw, 220px); padding-block: 4vh 20vh; padding-left: clamp(40px, 5vw, 80px); }
.method__line { position: absolute; left: 7px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.method__line i { position: absolute; inset: 0; background: var(--copper); transform-origin: top; transform: scaleY(0); }
.method__planet {
  position: absolute; left: -4px; top: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--cream);
  box-shadow: 0 0 0 1px var(--copper), 0 0 0 7px color-mix(in srgb, var(--copper) 18%, transparent);
  display: grid; place-items: center;
}
.method__planet svg { width: 13px; fill: var(--ink); }
.step { position: relative; display: grid; gap: 18px; }
.step__dot { position: absolute; left: calc(clamp(40px, 5vw, 80px) * -1 + 3px); top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1px var(--fg-soft); transition: background 0.5s, box-shadow 0.5s; }
.step.is-active .step__dot { background: var(--copper); box-shadow: none; }
.step__num { font-size: 13px; letter-spacing: 0.16em; color: var(--copper); font-weight: 600; }
.step h3 { font-size: clamp(2.4rem, 4.6vw, 5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.step h3 em { color: var(--copper); }
.step p { font-size: clamp(1.05rem, 1.25vw, 1.3rem); color: var(--fg-muted); max-width: 40ch; }
.step__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 8px; }
.step__media img { width: 100%; height: 120%; object-fit: cover; }
@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__aside { position: static; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { overflow: hidden; }
.tabs {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; margin: 0 auto clamp(40px, 5vw, 72px);
  background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__wrap { display: flex; justify-content: center; }
.tab {
  position: relative; z-index: 2; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap;
  color: var(--fg-muted); transition: color 0.4s;
}
.tab[aria-selected="true"] { color: var(--cream); }
.tabs__ind { position: absolute; z-index: 1; top: 5px; left: 0; height: 46px; border-radius: 999px; background: var(--ink); transition: transform 0.7s var(--ease-out), width 0.7s var(--ease-out); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); align-items: center; max-width: 1240px; margin-inline: auto; perspective: 1600px; }
.plans[hidden] { display: none; }
.plan {
  position: relative; border-radius: 30px; background: linear-gradient(170deg, #332d2c, #231f1f 70%); color: var(--cream);
  box-shadow: 0 40px 80px -40px rgba(38, 35, 35, 0.7), inset 0 0 0 1px rgba(245, 238, 226, 0.08);
  overflow: hidden; transform-style: preserve-3d; isolation: isolate;
}
.plan__head {
  padding: 22px 26px; font-size: clamp(1.15rem, 1.5vw, 1.55rem); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; text-align: center;
  background: linear-gradient(180deg, #d0b08c, #b9966f); color: var(--ink);
}
.plan--pop .plan__head { background: var(--cream); }
.plan--premium .plan__head { background: linear-gradient(180deg, #f7efe3, #e1d1bb); }
.plan__list { padding: 10px 26px 6px; }
.plan__list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding-block: 13px; border-bottom: 1px solid rgba(245, 238, 226, 0.1); font-size: 15.5px; color: rgba(245, 238, 226, 0.82); }
.plan__list li:last-child { border-bottom: 0; }
.plan__list b { color: var(--cream); font-weight: 600; }
.plan__list svg { width: 18px; height: 18px; stroke: var(--tan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan__foot { padding: 8px 26px 26px; display: grid; gap: 18px; justify-items: center; }
.plan__price { display: flex; align-items: flex-start; font-size: clamp(3rem, 4.6vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price .cur { font-size: 0.5em; margin: 0.12em 0 0 0.06em; color: var(--tan); }
.odo { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1em; }
.odo__col { display: flex; flex-direction: column; }
.odo__col span { height: 1em; line-height: 1; text-align: center; }
.plan__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan); }
.plan__badge svg { width: 14px; fill: var(--tan); }
.plan .btn { --btn-bg: rgba(245, 238, 226, 0.08); --btn-fg: var(--cream); height: 52px; width: 100%; padding: 0 8px 0 22px; justify-content: space-between; }
.plan .btn .btn__icon { background: var(--cream); color: var(--ink); width: 36px; height: 36px; }
.plan--pop .btn { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.plan--pop .btn .btn__icon { background: var(--ink); color: var(--cream); }
.plan--pop .btn:hover { --btn-fg: var(--cream); }
.plan--pop { transform: translateY(-18px); }
.plan--pop::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 60%, var(--tan) 75%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.plan__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(245, 238, 226, 0.1), transparent 45%); opacity: 0; transition: opacity 0.5s; }
.plan:hover .plan__glare { opacity: 1; }
.pricing__more {
  max-width: 1240px; margin: clamp(32px, 4vw, 56px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.6vw, 40px); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line);
}
.pricing__more p { font-size: clamp(1.05rem, 1.3vw, 1.35rem); max-width: 52ch; }
.pricing__more p span { color: var(--fg-muted); }
.pricing__note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--fg-soft); }
@media (max-width: 960px) {
  .plans {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 380px); overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 30px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); align-items: stretch; scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: center; }
  .plan--pop { transform: none; }
  .tabs__wrap { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 120px); }
.faq__aside { display: grid; gap: 24px; align-content: start; position: sticky; top: calc(var(--nav-h) + 40px); }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; text-align: left; font-size: clamp(1.15rem, 1.6vw, 1.6rem); font-weight: 550; letter-spacing: -0.02em; }
.acc__btn .svc__icon { width: 44px; height: 44px; flex: none; }
.acc__item.is-open .svc__icon::after { transform: rotate(0deg); }
.acc__item.is-open .svc__icon { transform: rotate(180deg); background: var(--ink); color: var(--cream); box-shadow: none; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 28px; color: var(--fg-muted); max-width: 62ch; font-size: clamp(1rem, 1.15vw, 1.15rem); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: static; } }

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding-block: var(--section) clamp(60px, 8vw, 120px); }
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta__title { font-size: clamp(3rem, 8.6vw, 10rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.9; }
.cta__title em { color: var(--tan); }
.cta__side { display: grid; gap: 28px; justify-items: center; }
.cta__btn { position: relative; width: clamp(170px, 15vw, 230px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); }
.cta__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--copper); transform: scale(0); transition: transform 0.7s var(--ease-out); }
.cta__btn:hover::before { transform: scale(1); }
.cta__ring { position: absolute; inset: 9%; width: 82%; height: 82%; animation: rotate 16s linear infinite; }
.cta__ring text { font-size: 11.5px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; fill: currentColor; }
.cta__picto { position: relative; width: 34%; fill: currentColor; transition: transform 0.8s var(--ease-out); }
.cta__btn:hover { color: var(--cream); }
.cta__btn:hover .cta__picto { transform: rotate(-32deg) scale(1.08); }
@keyframes rotate { to { transform: rotate(360deg); } }
.cta__bubble { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 20px 20px 20px 6px; background: var(--cream); color: var(--ink); font-size: 14.5px; font-weight: 500; }
.cta__bubble .avatar { width: 30px; height: 30px; }
.cta__bubble .avatar svg { width: 18px; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } .cta__side { justify-items: start; } }

.footer { position: relative; overflow: hidden; padding-top: clamp(40px, 5vw, 80px); margin-top: -1px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: clamp(48px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.footer__col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-soft); font-weight: 500; margin-bottom: 18px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { color: var(--fg-muted); transition: color 0.3s; }
.footer__col a:hover { color: var(--cream); }
.footer__lead { font-size: clamp(1.3rem, 1.8vw, 1.9rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; max-width: 20ch; }
.copy-btn { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.05rem, 1.25vw, 1.25rem); color: var(--cream) !important; font-weight: 500; }
.copy-btn small { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); transition: color 0.3s; }
.copy-btn.is-copied small { color: #8fc58a; }
.footer__word { padding: clamp(28px, 4vw, 64px) var(--gutter) 0; }
.footer__word svg { width: 100%; height: auto; fill: var(--cream); overflow: visible; }
.footer__word .logo-dot { fill: var(--copper-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 24px 28px; font-size: 13.5px; color: var(--fg-soft); }
.footer__bottom a:hover { color: var(--cream); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__intro { grid-column: 1 / -1; } }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 950; display: none; }
.lightbox.is-open { display: block; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(27, 24, 24, 0.92); backdrop-filter: blur(8px); opacity: 0; }
.lightbox__frame { position: absolute; inset: clamp(64px, 8vh, 96px) var(--gutter) clamp(120px, 17vh, 170px); display: flex; align-items: center; justify-content: center; }
.lightbox__img { width: auto; height: auto; max-width: min(100%, 46vw); max-height: min(100%, 58vh); border-radius: var(--radius); object-fit: contain; }
.lightbox__cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vh, 44px); display: flex; justify-content: space-between; align-items: end; gap: 24px; color: var(--cream); opacity: 0; }
.lightbox__cap h3 { font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 650; letter-spacing: -0.03em; }
.lightbox__cap p { color: rgba(245, 238, 226, 0.65); max-width: 52ch; }
.lightbox__close { position: absolute; right: var(--gutter); top: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; opacity: 0; }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; width: 18px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }

/* ==========================================================================
   INNER PAGES (contact, legal, 404)
   ========================================================================== */
.page-hero { padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px)); padding-bottom: clamp(48px, 6vw, 90px); }
.page-hero__title { font-size: clamp(3.2rem, 9vw, 10.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.9; }
.page-hero__title em { color: var(--accent); }

.contact__grid { display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: clamp(40px, 7vw, 140px); align-items: start; padding-bottom: var(--section); }
.contact__aside { display: grid; gap: 40px; position: sticky; top: calc(var(--nav-h) + 30px); }
.contact__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-soft); }
.contact__list a, .contact__list b { font-weight: 500; }

.convo {
  border-radius: 34px; background: #201d1d; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(245, 238, 226, 0.08);
  display: flex; flex-direction: column; min-height: min(78vh, 760px); overflow: hidden;
}
.convo__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(245, 238, 226, 0.07); }
.convo__head .phone__who small { color: #8fc58a; }
.convo__switch { margin-left: auto; font-size: 13px; color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px; }
.convo__body { flex: 1; overflow-y: auto; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; max-height: min(64vh, 620px); }
.convo__body .msg { max-width: 86%; }
.convo__body .bubble { font-size: 15.5px; }
.convo__body .msg--in .bubble { background: #2f2a2a; color: var(--cream); }
.convo__body .msg--out .bubble { background: var(--cream); color: var(--ink); cursor: default; }
.convo__body .typing { background: #2f2a2a; }
.convo__body .typing i { background: rgba(245, 238, 226, 0.5); }
.convo__options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 4px 54px; }
.opt {
  height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(245, 238, 226, 0.25); font-size: 14.5px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-back);
}
.opt:hover { box-shadow: inset 0 0 0 1px var(--cream); transform: translateY(-2px); }
.opt[aria-pressed="true"] { background: var(--cream); color: var(--ink); box-shadow: none; }
.opt--go { background: var(--copper); box-shadow: none; color: var(--cream); font-weight: 500; }
.convo__composer { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid rgba(245, 238, 226, 0.07); }
.convo__field { flex: 1; min-height: 50px; max-height: 160px; border-radius: 26px; background: rgba(245, 238, 226, 0.06); border: 0; padding: 14px 20px; resize: none; outline: none; line-height: 1.4; font-size: 15.5px; }
.convo__field:focus-visible { box-shadow: inset 0 0 0 1px rgba(245, 238, 226, 0.35); }
.convo__field::placeholder { color: rgba(245, 238, 226, 0.4); }
.convo__send { width: 50px; height: 50px; border-radius: 50%; background: var(--copper); display: grid; place-items: center; flex: none; transition: transform 0.4s var(--ease-back), background 0.3s, opacity 0.3s; }
.convo__send:hover { transform: scale(1.06) rotate(-12deg); background: var(--copper-2); }
.convo__send:disabled { opacity: 0.35; transform: none; cursor: not-allowed; }
.convo__send svg { width: 18px; fill: var(--cream); }
.convo__error { color: #e7a58b; font-size: 13.5px; padding: 0 22px 10px; min-height: 0; }
.convo__summary { display: grid; gap: 6px; font-size: 14.5px; }
.convo__summary div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.convo__summary dt { color: rgba(38, 35, 35, 0.55); }
.convo__summary dd { margin: 0; font-weight: 500; }

.classic { display: none; gap: 14px; }
.classic.is-on, html.no-js .classic { display: grid; }
html.no-js .convo { display: none; }
.classic label { display: grid; gap: 8px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); }
.classic input, .classic textarea, .classic select {
  width: 100%; height: 56px; border-radius: 16px; border: 0; background: rgba(245, 238, 226, 0.06); padding: 0 18px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(245, 238, 226, 0.1); transition: box-shadow 0.3s;
}
.classic textarea { height: 160px; padding: 16px 18px; resize: vertical; }
.classic select option { background: var(--ink); }
.classic input:focus, .classic textarea:focus, .classic select:focus { outline: none; box-shadow: inset 0 0 0 1px var(--tan); }
.classic__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.classic__status { min-height: 1.5em; font-size: 15px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__aside { position: static; order: 2; }
  .classic__row { grid-template-columns: 1fr; }
}

.legal { padding-bottom: var(--section); }
.legal > * { max-width: 780px; }
.legal h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; margin: 64px 0 18px; }
.legal h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--fg-muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { background: rgba(155, 108, 75, 0.16); color: var(--copper); padding: 0 6px; border-radius: 6px; font-weight: 500; }

.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.lost canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lost__inner { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; padding: var(--nav-h) var(--gutter) 40px; }
.lost__code { font-size: clamp(6rem, 24vw, 22rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.8; display: flex; align-items: center; }
.lost__code svg { width: 0.78em; height: 0.78em; fill: var(--tan); margin-inline: 0.02em; animation: rotate 20s linear infinite; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* case: chat bubbles on cream */
.case__bubble .msg--in .bubble { background: #fff; box-shadow: 0 10px 30px -18px rgba(38, 35, 35, 0.35); }
.convo__body .convo__summary dt { color: rgba(245, 238, 226, 0.5); }
.convo__body > :first-child { margin-top: auto; }
.plan { display: flex; flex-direction: column; }
.plan__foot { margin-top: auto; }
/* no-motion fallback for the horizontal case: native swipe */
@media (min-width: 901px) {
  html.no-motion .case__pin { height: auto; overflow-x: auto; scroll-snap-type: x proximity; padding-block: 40px 70px; }
  html.no-motion .case__panel { scroll-snap-align: start; }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .case__pin { height: auto; overflow-x: auto; scroll-snap-type: x proximity; padding-block: 40px 70px; }
}

@media (max-width: 960px) {
  .convo { min-height: 0; }
  .convo__body { min-height: 380px; max-height: 62svh; }
}
.word { white-space: nowrap; }

/* no-JS: open accordions so content stays readable */
html.no-js .svc__panel, html.no-js .acc__panel { grid-template-rows: 1fr; }

/* ==========================================================================
   LINK IN BIO (/links)
   ========================================================================== */
.bio { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 48px 20px; text-align: center; position: relative; overflow: hidden; }
.bio__inner { width: 100%; max-width: 440px; display: grid; gap: 14px; justify-items: center; position: relative; z-index: 1; }
.bio__picto { width: 92px; height: 92px; fill: var(--cream); animation: bioSpin 1.4s var(--ease-out) both; }
.bio__word { width: 180px; fill: var(--cream); margin-top: 10px; animation: bioIn 1s 0.2s var(--ease-out) both; }
.bio__word .logo-dot { fill: var(--copper-2); }
.bio__tag { color: var(--fg-muted); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; animation: bioIn 1s 0.3s var(--ease-out) both; }
.bio__link {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 24px; border-radius: 22px;
  background: rgba(245, 238, 226, 0.06); box-shadow: inset 0 0 0 1px rgba(245, 238, 226, 0.1); text-align: left;
  transition: background-color 0.4s, transform 0.5s var(--ease-out); animation: bioIn 1s var(--ease-out) both;
}
.bio__link:hover { background: rgba(245, 238, 226, 0.12); transform: translateY(-2px); }
.bio__link b { display: block; font-weight: 600; font-size: 16.5px; }
.bio__link small { color: var(--fg-muted); font-size: 13.5px; }
.bio__link .btn__icon { background: var(--cream); color: var(--ink); }
.bio__link--main { background: var(--cream); color: var(--ink); box-shadow: none; }
.bio__link--main small { color: rgba(38, 35, 35, 0.6); }
.bio__link--main .btn__icon { background: var(--ink); color: var(--cream); }
.bio__link--main:hover { background: #fff; }
.bio__link:nth-of-type(1) { animation-delay: 0.35s; } .bio__link:nth-of-type(2) { animation-delay: 0.42s; }
.bio__link:nth-of-type(3) { animation-delay: 0.49s; } .bio__link:nth-of-type(4) { animation-delay: 0.56s; }
.bio__link:nth-of-type(5) { animation-delay: 0.63s; }
.bio__foot { margin-top: 22px; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.bio__orbit { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; fill: none; stroke: rgba(245, 238, 226, 0.05); stroke-width: 0.12; pointer-events: none; animation: rotate 120s linear infinite; }
@keyframes bioIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bioSpin { from { opacity: 0; transform: rotate(-120deg) scale(0.6); } to { opacity: 1; transform: none; } }

/* one photographic grade for the whole series */
.case__media img, .work__media img, .textile__media img, .textile__gallery img, .chip-img img,
.bubble__photo img, .svc-preview img, .svc__mimg img { filter: saturate(0.82) contrast(1.05) brightness(0.98); }
.work__meta h3 { font-size: clamp(1.05rem, 1.2vw, 1.25rem); }
@media (max-width: 900px) {
  .case__shot { height: auto; }
  .case__cap span { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .lightbox__img { max-width: 100%; max-height: 62vh; }
}

/* ==========================================================================
   WEB PROJECTS
   ========================================================================== */
.webprojects { margin-top: clamp(110px, 13vw, 220px); }
.webp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); }
.webp:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
.webp { display: grid; gap: 28px; align-content: start; }
.webp__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); isolation: isolate; }
.webp__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.04);
  transition: transform 1.4s var(--ease-out), filter 0.8s var(--ease-out); }
.webp__screen {
  position: absolute; left: 7%; right: 7%; top: 50%; translate: 0 -50%; z-index: 2; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); opacity: 0; transform: translateY(40px) scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out);
}
.webp__screen i { display: block; height: 22px; background: #efe9df; position: relative; }
.webp__screen i::before { content: ""; position: absolute; left: 10px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #c9bfb1; box-shadow: 10px 0 #c9bfb1, 20px 0 #c9bfb1; }
.webp__screen img { width: 100%; height: auto; display: block; }
@media (hover: hover) {
  .webp__media:hover .webp__photo { transform: scale(1.06); filter: saturate(0.6) brightness(0.45) blur(3px); }
  .webp__media:hover .webp__screen { opacity: 1; transform: none; }
}
.webp__info { display: grid; gap: 16px; }
.webp__info h4 { font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.92; margin: 0; }
.webp__info > p:not(.eyebrow) { color: var(--fg-muted); max-width: 46ch; font-size: clamp(1rem, 1.15vw, 1.15rem); }
@media (max-width: 900px) {
  .webp__grid { grid-template-columns: 1fr; }
  .webp:nth-child(2) { margin-top: 0; }
}

/* loader v4 — the picto assembles, then splits the screen along its slash */
.loader { --ps: min(30vw, 30vh, 230px); }
.loader__half {
  position: absolute; inset: 0; will-change: transform;
  background: radial-gradient(55% 55% at 50% 50%, #342f2d 0%, #2a2626 45%, var(--ink) 80%);
}
.loader__half::after { content: ""; position: absolute; inset: 0; background: url("../img/grain.png"); background-size: 220px; opacity: 0.06; }
.loader__piece {
  position: absolute; left: 50%; top: 50%; width: var(--ps); height: var(--ps);
  margin: calc(var(--ps) / -2) 0 0 calc(var(--ps) / -2);
  fill: var(--cream); overflow: visible; will-change: transform, opacity; opacity: 0;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}
.loader__meta { opacity: 0; }
.hero__lead.is-site-changing { opacity: 0; transform: translateY(9px); filter: blur(4px); transition: opacity .38s ease, transform .38s ease, filter .38s ease; }
@media (prefers-reduced-motion: reduce) { .hero__lead.is-site-changing { opacity: 1; transform: none; filter: none; transition: none; } }
