/* ==========================================================================
   Kaoutar Dar Kaftan — Maison de couture traditionnelle, Tanger
   ========================================================================== */

@property --c  { syntax: '<color>'; inherits: true; initial-value: #6E1F2B; }
@property --cd { syntax: '<color>'; inherits: true; initial-value: #4a1520; }
@property --cl { syntax: '<color>'; inherits: true; initial-value: #c9a0a6; }

:root {
  --ivory: #F6F0E4;
  --paper: #FBF8F1;
  --sand: #ECE2CD;
  --sand-2: #DCCBA8;
  --ink: #1D1813;
  --ink-2: #4A3F33;
  --ink-3: #7A6B58;
  --gold: #B48C42;
  --gold-deep: #8A6726;
  --gold-light: #DCC084;
  --gold-pale: #F1E3BE;
  --night: #15110D;
  --emerald: #143A31;
  --bordeaux: #561722;
  --line: rgba(138, 103, 38, .22);
  --line-light: rgba(220, 192, 132, .22);

  --gold-grad: linear-gradient(105deg, #7E5D22 0%, #C9A256 20%, #F4E2AE 38%, #C9A256 55%, #8A6726 75%, #D9B96E 100%);
  --gold-grad-deep: linear-gradient(105deg, #6A4C16 0%, #A9813A 22%, #D2B068 38%, #A9813A 55%, #6E5019 75%, #B48C42 100%);

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --arabic: 'Aref Ruqaa', 'Amiri', serif;

  --gutter: clamp(16px, 4.2vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23DCC084' stroke-width='.8'%3E%3Crect x='35' y='35' width='50' height='50'/%3E%3Crect x='35' y='35' width='50' height='50' transform='rotate(45 60 60)'/%3E%3Ccircle cx='60' cy='60' r='13'/%3E%3Cpath d='M0 0L25 25M120 0L95 25M0 120L25 95M120 120L95 95M60 0V25M60 120V95M0 60H25M120 60H95'/%3E%3C/g%3E%3C/svg%3E");
  --braid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cg fill='none' stroke='%23B48C42' stroke-width='1.1'%3E%3Cpath d='M0 7C7 0 7 0 14 7S21 14 28 7'/%3E%3Cpath d='M0 7C7 14 7 14 14 7S21 0 28 7'/%3E%3C/g%3E%3Ccircle cx='14' cy='7' r='1.4' fill='%23B48C42'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */
*, *::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-weight: 300;
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 16px; }

/* Paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 400; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.02em; margin: 0; }
em { font-style: italic; }
.h2 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.h2 em { font-weight: 400; }
.lead { font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--ink-2); max-width: 40ch; }
.eyebrow {
  display: flex; align-items: center; gap: .9em; margin: 0 0 1.8rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 2.6em; height: 1px; background: currentColor; }
.eyebrow__num { font-family: var(--serif); font-style: italic; font-size: 1.25em; letter-spacing: 0; }
.ar { font-family: var(--arabic); font-weight: 400; direction: rtl; unicode-bidi: isolate; }
.gold-text {
  background: var(--gold-grad-deep); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em; animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.theme-dark .gold-text, .hero__caption .gold-text { background-image: var(--gold-grad); }

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.section-head .lead { margin: 0; }

.theme-dark { color: var(--ivory); }
.theme-dark .eyebrow { color: var(--gold-light); }
.theme-dark .lead { color: rgba(246, 240, 228, .72); }

/* ---------- Reveal system (only when JS is on) ---------- */
.line { display: block; overflow: hidden; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(110%); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js .in .line > span, .js .line.in > span { transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.5s var(--ease-io), transform 2.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  padding: 1.1em 1.9em; border-radius: 999px;
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  transition: color .5s var(--ease), border-color .5s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--gold-grad); background-size: 200% 100%;
  transform: translateY(102%); transition: transform .65s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { color: var(--ink); }
.btn--ghost { border: 1px solid currentColor; }
.btn--ghost:hover { color: var(--ink); border-color: transparent; }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); }
.btn--gold::before { background: var(--ivory); }
.btn--sm { padding: .85em 1.4em; font-size: .68rem; }

.link-u { position: relative; display: inline-flex; align-items: center; gap: .6em; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(0); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: none; }
.loader__door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--night); transition: transform 1.3s var(--ease-io); }
.loader__door--l { left: 0; }
.loader__door--r { right: 0; }
.loader__door::after { content: ""; position: absolute; inset: 0; background: var(--zellige); background-size: 90px; opacity: .06; }
.loader__inner { position: relative; z-index: 2; text-align: center; color: var(--gold-light); transition: opacity .6s, transform .9s var(--ease); }
.loader__star { width: 92px; height: 92px; margin: 0 auto 26px; display: block; }
.loader__star * { fill: none; stroke: var(--gold-light); stroke-width: .8; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2s var(--ease) forwards; }
.loader__star circle { animation-delay: .5s; }
.loader__star rect + rect { animation-delay: .25s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__name { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .32em; margin: 0; padding-left: .32em; text-transform: uppercase; }
.loader__name span { display: inline-block; opacity: 0; transform: translateY(20px); animation: up .9s var(--ease) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
.loader__ar { font-size: 1.6rem; margin: .4rem 0 0; opacity: 0; animation: up 1s .6s var(--ease) forwards; }
.loader__count { position: fixed; right: var(--gutter); bottom: 28px; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: .1em; }
.loader.done .loader__door--l { transform: translateX(-101%); }
.loader.done .loader__door--r { transform: translateX(101%); }
.loader.done .loader__inner { opacity: 0; transform: scale(.94); }
.loader.gone { display: none; }
.no-js .loader { display: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gutter);
  transition: background .5s, color .5s, transform .7s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(246, 240, 228, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); padding-block: 12px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.nav.on-dark { color: var(--ivory); }
.nav.on-dark.is-scrolled { background: rgba(21, 17, 13, .55); border-color: var(--line-light); }
.nav__menu { display: inline-flex; align-items: center; gap: 14px; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; justify-self: start; }
.nav__burger { width: 30px; height: 12px; position: relative; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), width .5s var(--ease); }
.nav__burger::before { top: 0; width: 100%; }
.nav__burger::after { bottom: 0; width: 62%; }
.nav__menu:hover .nav__burger::after { width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 38px; color: var(--gold); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .34em; text-transform: uppercase; }
.brand__sub { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; margin-top: 5px; opacity: .7; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.nav__tel { font-size: .72rem; letter-spacing: .18em; }
.nav .btn--ink { transition: color .5s, background .5s; }
.nav.on-dark .btn--ink { background: var(--ivory); color: var(--ink); }

/* Scroll thread (left) */
.thread { position: fixed; left: 22px; top: 50%; height: 30vh; width: 1px; transform: translateY(-50%); background: var(--line); z-index: 90; }
.thread span { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.thread i { position: absolute; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); top: calc(var(--sp, 0) * 100%); transform: translateY(-50%); box-shadow: 0 0 0 4px rgba(180, 140, 66, .18); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--night); color: var(--ivory);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 4vw; padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
}
.menu::before { content: ""; position: absolute; inset: 0; background: var(--zellige); background-size: 110px; opacity: .05; pointer-events: none; }
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu__close { position: absolute; top: 22px; left: var(--gutter); display: inline-flex; gap: 14px; align-items: center; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; color: var(--gold-light); }
.menu__close::before { content: "✕"; font-size: .9rem; }
.menu__list { list-style: none; margin: 0; padding: 0; align-self: center; counter-reset: m; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 22px; padding: .08em 0;
  font-family: var(--serif); font-size: clamp(2.1rem, 5.2vw, 4.8rem); line-height: 1.08;
  transform: translateY(110%); transition: transform 1s var(--ease), color .4s;
}
.menu.open .menu__list a { transform: none; transition-delay: calc(.25s + var(--i) * .06s), 0s; }
.menu__list a::before { counter-increment: m; content: "0" counter(m); font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--gold-light); transform: translateY(-1.4em); }
.menu__list a:hover { color: var(--gold-light); font-style: italic; }
.menu__aside { align-self: center; display: flex; flex-direction: column; gap: 28px; }
.menu__preview { position: relative; aspect-ratio: 3/4; max-height: 62vh; border-radius: 999px 999px 4px 4px; overflow: hidden; border: 1px solid var(--line-light); }
.menu__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s, transform 1.4s var(--ease); }
.menu__preview img.on { opacity: 1; transform: none; }
.menu__contact { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: .78rem; letter-spacing: .14em; color: rgba(246, 240, 228, .7); }
.menu__contact a:hover { color: var(--gold-light); }
.menu__ar { position: absolute; right: var(--gutter); bottom: 10px; font-size: clamp(5rem, 14vw, 13rem); line-height: 1; color: var(--gold-light); opacity: .08; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 240vh; background: var(--ivory); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --e: 0; --aw: 22vw; --ah: 64vh; }
.hero__sticky::before { content: ""; position: absolute; inset: 0; background: var(--zellige); background-size: 140px; opacity: .25; filter: sepia(1); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); }
.hero__arch {
  position: absolute; left: 50%; top: 50%; z-index: 1; overflow: hidden;
  width: calc(var(--aw) + (100vw - var(--aw)) * var(--e));
  height: calc(var(--ah) + (100% - var(--ah)) * var(--e));
  transform: translate(-50%, calc(-50% + 3vh * (1 - var(--e))));
  border-radius: calc(var(--aw) / 2 * (1 - var(--e))) calc(var(--aw) / 2 * (1 - var(--e))) 0 0;
  background: var(--bordeaux);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(calc(1.2 - .2 * var(--e))); }
.hero__arch::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21, 17, 13, .15) 20%, rgba(21, 17, 13, .55) 55%, rgba(21, 17, 13, .92)); opacity: calc(var(--e) * 1.2 - .2); }
.hero__arch::after { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid rgba(241, 227, 190, .7); border-radius: inherit; opacity: calc(1 - var(--e) * 3); }
.js .hero__arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--ease-io) .1s; }
.js .is-loaded .hero__arch { clip-path: inset(0 0 0 0); }

.hero__title {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: grid; grid-template-columns: 1fr var(--aw) 1fr; align-items: center;
  padding-inline: var(--gutter);
  font-size: clamp(3rem, 6.6vw, 8.8rem); line-height: .98; letter-spacing: -.035em;
}
.hero__col { display: flex; flex-direction: column; opacity: calc(1 - var(--e) * 2.4); }
.hero__col--l { grid-column: 1; text-align: right; padding-right: 2.4vw; transform: translateX(calc(-24vw * var(--e))); }
.hero__col--r { grid-column: 3; text-align: left; padding-left: 2.4vw; transform: translateX(calc(24vw * var(--e))); }
.hero__col .line { white-space: nowrap; }
.hero__title em { font-weight: 400; }
.js .hero__title .line > span { transition-duration: 1.5s; }
.js .is-loaded .hero__title .line > span { transform: none; }

.hero__meta { position: absolute; top: 118px; z-index: 3; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; line-height: 1.9; color: var(--ink-2); opacity: calc(1 - var(--e) * 3); }
.hero__meta--l { left: var(--gutter); }
.hero__meta--r { right: var(--gutter); text-align: right; }
.hero__meta .ar { font-size: 1.5rem; letter-spacing: 0; color: var(--gold-deep); text-transform: none; display: block; margin-top: 4px; }

.hero__bottom {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4.5vh; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  opacity: calc(1 - var(--e) * 3.2);
}
.hero__intro { max-width: 34ch; margin: 0; font-size: .95rem; color: var(--ink-2); }
.hero__cta { justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll svg { width: 14px; height: 54px; color: var(--gold); }
.hero__scroll .needle-thread { stroke-dasharray: 4 5; animation: thread 1.6s linear infinite; }
@keyframes thread { to { stroke-dashoffset: -18; } }
.js .hero__bottom, .js .hero__meta { transition: translate 1.4s var(--ease) .9s, filter 1.4s .9s; translate: 0 20px; filter: blur(6px); }
.js .is-loaded .hero__bottom, .js .is-loaded .hero__meta { translate: 0 0; filter: none; }

.hero__caption {
  position: absolute; left: 50%; bottom: 9vh; z-index: 3; width: min(900px, 90vw);
  transform: translate(-50%, calc(40px * (1 - var(--e)))); text-align: center; color: var(--ivory);
  opacity: calc((var(--e) - .72) * 3.6); pointer-events: none;
}
.hero__caption p { text-shadow: 0 2px 30px rgba(0,0,0,.5); margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 3.1rem); line-height: 1.15; }
.hero__caption .ar { display: block; margin-top: 18px; font-size: clamp(1.4rem, 2vw, 2rem); color: var(--gold-light); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(110px, 15vw, 230px) var(--gutter) clamp(90px, 10vw, 150px); max-width: 1560px; margin: 0 auto; }
.manifesto__text { margin: 0; font-family: var(--serif); font-size: clamp(1.85rem, 4.15vw, 4.4rem); line-height: 1.13; letter-spacing: -.018em; }
.manifesto__text em { color: var(--gold-deep); }
.w { display: inline; }
.js .manifesto__text .w, .js .manifesto__text .pill { opacity: .13; transition: opacity .55s ease; }
.js .manifesto__text .lit { opacity: 1; }
.pill { display: inline-block; width: 2.2em; height: .9em; border-radius: 999px; overflow: hidden; vertical-align: -.04em; margin: 0 .06em; }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__foot { margin-top: clamp(60px, 7vw, 110px); display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.signature { display: flex; flex-direction: column; gap: 6px; }
.signature .ar { font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: 1; color: var(--gold); }
.signature small { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 26px 22px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1; margin-bottom: 10px; }
.stat span { font-size: .78rem; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- Marquee ---------- */
.marquee { background: var(--night); color: var(--gold-light); overflow: hidden; padding: clamp(22px, 3vw, 40px) 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--braid) repeat-x center / 28px 14px; opacity: .55; }
.marquee::before { top: 6px; } .marquee::after { bottom: 6px; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 5.6rem); line-height: 1.1; padding: 0 .4em; white-space: nowrap; }
.marquee__item:nth-child(4n+3) { font-style: italic; }
.marquee__item.o { color: transparent; -webkit-text-stroke: 1px var(--gold-light); }
.marquee__star { width: clamp(22px, 2.4vw, 36px); height: auto; color: var(--gold); flex: none; }
.marquee__item .ar { font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Collections (horizontal) ---------- */
.collections { position: relative; background: var(--paper); }
.collections__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.collections__track { display: flex; align-items: center; gap: clamp(26px, 3.2vw, 60px); padding: 0 var(--gutter); will-change: transform; }
.collections__intro { flex: 0 0 min(36vw, 560px); padding-right: 2vw; }
.collections__intro .lead { margin: 30px 0 34px; }
.collections__count { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); display: flex; align-items: center; gap: 14px; }
.collections__count i { display: block; width: 80px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.collections__count i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--cp, 0)); }

.card { flex: 0 0 clamp(250px, 23vw, 370px); }
.card--low { margin-top: 15vh; }
.card--high { margin-bottom: 15vh; }
.card__btn { display: block; width: 100%; text-align: left; }
.card__media { position: relative; aspect-ratio: 3 / 4.2; border-radius: 999px 999px 4px 4px; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: translateX(var(--px, 0px)) scale(var(--s, 1.16)); transition: transform 1.4s var(--ease), filter .8s; will-change: transform; }
.card__btn:hover .card__media img { --s: 1.24; }
.card__media::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(241, 227, 190, .85); border-radius: inherit; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s var(--ease); }
.card__btn:hover .card__media::after { opacity: 1; transform: none; }
.card__tag { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); z-index: 2; background: var(--ivory); color: var(--ink); border-radius: 999px; padding: .6em 1.1em; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; opacity: 0; transition: opacity .5s, transform .6s var(--ease); white-space: nowrap; }
.card__btn:hover .card__tag { opacity: 1; transform: translate(-50%, 0); }
.card__body { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 14px; padding-top: 20px; }
.card__num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: .95rem; }
.card__title { font-size: clamp(1.5rem, 1.9vw, 2rem); }
.card__ar { font-size: 1.3rem; color: var(--gold); }
.card__desc { grid-column: 2 / 4; margin: 6px 0 0; font-size: .88rem; color: var(--ink-3); line-height: 1.55; }
.collections__end { flex: 0 0 min(30vw, 420px); padding: 0 4vw 0 2vw; }
.collections__end p { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.12; margin: 0 0 28px; }

/* Sfifa divider */
.sfifa { height: 14px; background: var(--braid) repeat-x center / 28px 14px; opacity: .7; margin: 0 var(--gutter); }

/* ---------- Savoir-faire ---------- */
.process { padding: clamp(110px, 12vw, 180px) var(--gutter); background: var(--ivory); }
.process__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 7vw; margin-top: clamp(50px, 6vw, 100px); }
.process__media { position: sticky; top: 12vh; height: 76vh; align-self: start; }
.process__frame { position: relative; height: 100%; border-radius: 999px 999px 4px 4px; overflow: hidden; background: var(--sand); }
.process__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); transition: opacity 1.1s var(--ease), transform 2.4s var(--ease); }
.process__frame img.on { opacity: 1; transform: none; }
.process__frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(241, 227, 190, .7); border-radius: inherit; pointer-events: none; }
.process__roman { position: absolute; left: -.08em; bottom: -.18em; z-index: 2; font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 13vw, 13rem); line-height: 1; color: var(--ivory); mix-blend-mode: difference; pointer-events: none; transition: opacity .4s; }
.process__list { position: relative; padding-left: 64px; }
.process__steps { list-style: none; margin: 0; padding: 0; }
.process__thread { position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.process__thread span { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--tp, 0)); }
.process__needle { position: absolute; left: -9px; width: 19px; height: 46px; top: calc(var(--tp, 0) * 100%); transform: translateY(-100%); color: var(--gold-deep); }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; transition: opacity .7s; }
.js .step { opacity: .25; }
.js .step.is-active { opacity: 1; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-deep); margin-bottom: 16px; }
.step h3 { font-size: clamp(2.1rem, 3.6vw, 3.7rem); margin-bottom: 22px; }
.step p { margin: 0; max-width: 42ch; color: var(--ink-2); font-size: 1.02rem; }
.step__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.step__chips span { border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.step__img { display: none; }

/* ---------- Atelier (configurator) ---------- */
.atelier { position: relative; background: var(--night); padding: clamp(110px, 12vw, 180px) var(--gutter); overflow: hidden; }
.atelier::before { content: ""; position: absolute; inset: 0; background: var(--zellige); background-size: 120px; opacity: .045; pointer-events: none; }
.atelier__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; margin-top: clamp(40px, 5vw, 80px); }
.stage { position: relative; height: min(86vh, 840px); min-height: 560px; display: grid; place-items: center; }
.stage__arch { position: absolute; inset: 0 9% 6%; border-radius: 999px 999px 0 0; border: 1px solid var(--line-light); background: radial-gradient(ellipse 60% 48% at 50% 34%, rgba(220, 192, 132, .2), transparent 70%), linear-gradient(180deg, #221b14, #15110D 80%); overflow: hidden; }
.stage__arch::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(220, 192, 132, .1); border-radius: inherit; }
.stage__floor { position: absolute; left: 18%; right: 18%; bottom: 3%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 192, 132, .22), transparent); }
#garment { position: relative; height: 90%; width: auto; max-width: 100%; overflow: visible; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .55)); transition: opacity .35s var(--ease), transform .5s var(--ease);
  --c: #6E1F2B; --cd: #4a1520; --cl: #c9a0a6;
  transition-property: opacity, transform, --c, --cd, --cl; transition-duration: .35s, .5s, .9s, .9s, .9s; }
#garment.swap { opacity: 0; transform: translateY(14px) scale(.97); }
#garment .fab, #garment .brod { opacity: 0; transition: opacity .7s var(--ease); }
#garment[data-fabric="velours"] .fab-velours, #garment[data-fabric="brocart"] .fab-brocart,
#garment[data-fabric="mousseline"] .fab-mousseline, #garment[data-fabric="satin"] .fab-satin,
#garment[data-brod="sfifa"] .brod-sfifa, #garment[data-brod="majboud"] .brod-majboud,
#garment[data-brod="perlage"] .brod-perlage, #garment[data-brod="epure"] .brod-epure { opacity: 1; }
#garment[data-fabric="mousseline"] .body-fill { fill-opacity: .9; }
.stage__tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; display: flex; align-items: center; gap: 10px; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 240, 228, .6); }
.tag b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1.05rem; color: var(--gold-light); transition: opacity .3s; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(180, 140, 66, .18); flex: none; }
.tag--1 { left: 0; top: 18%; } .tag--2 { right: 0; top: 30%; flex-direction: row-reverse; text-align: right; }
.tag--3 { left: 0; top: 62%; } .tag--4 { right: 0; top: 74%; flex-direction: row-reverse; text-align: right; }

.panel { color: var(--ivory); }
.panel fieldset { border: 0; margin: 0; padding: 0 0 26px; }
.panel fieldset + fieldset { border-top: 1px solid var(--line-light); padding-top: 22px; }
.panel legend { padding: 0; margin-bottom: 14px; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; display: flex; gap: 10px; width: 100%; }
.panel legend output { margin-left: auto; font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ivory); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .7em 1.25em; border-radius: 999px; border: 1px solid var(--line-light); font-size: .8rem; letter-spacing: .04em; cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.chip:hover span { border-color: var(--gold-light); }
.chip input:checked + span { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); border-color: transparent; }
.chip input:focus-visible + span, .swatch input:focus-visible + span { outline: 1.5px solid var(--gold-light); outline-offset: 3px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), inset -6px -8px 14px rgba(0, 0, 0, .3), inset 5px 6px 10px rgba(255, 255, 255, .12); transition: transform .4s var(--ease), box-shadow .4s; }
.swatch:hover span { transform: scale(1.1); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--night), 0 0 0 4.5px var(--gold-light), inset -6px -8px 14px rgba(0, 0, 0, .3); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; background: transparent; border: 1px solid var(--line-light); border-radius: 999px; padding: .8em 2.6em .8em 1.25em; color: var(--ivory); font-size: .85rem; cursor: pointer; }
.select select option { color: var(--ink); }
.select::after { content: ""; position: absolute; right: 1.2em; top: 50%; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.panel__summary { margin: 4px 0 24px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.3; color: var(--gold-pale); min-height: 2.6em; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.panel__note { margin: 16px 0 0; font-size: .74rem; color: rgba(246, 240, 228, .5); }

/* ---------- Occasions ---------- */
.occasions { padding: clamp(110px, 12vw, 180px) var(--gutter); background: var(--ivory); position: relative; }
.occ-list { list-style: none; margin: clamp(50px, 6vw, 90px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.occ { position: relative; isolation: isolate; display: grid; grid-template-columns: 70px 1.4fr .35fr 1fr; align-items: center; gap: 24px; padding: clamp(18px, 2.3vw, 34px) 0; border-bottom: 1px solid var(--line); }
.occ::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--sand); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.occ:hover::before { transform: scaleY(1); }
.occ__num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); }
.occ__name { font-family: var(--serif); font-size: clamp(2rem, 4.8vw, 4.8rem); line-height: 1; transition: transform .7s var(--ease), color .4s; }
.occ:hover .occ__name { transform: translateX(26px); color: var(--gold-deep); font-style: italic; }
.occ__ar { font-size: clamp(1.4rem, 2vw, 2rem); color: var(--gold); text-align: center; }
.occ__desc { margin: 0; color: var(--ink-3); font-size: .92rem; max-width: 36ch; justify-self: end; }
.occ__thumb { display: none; }
.follower { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(200px, 19vw, 290px); aspect-ratio: 3 / 4; pointer-events: none; will-change: transform; }
.follower__in { width: 100%; height: 100%; border-radius: 999px 999px 4px 4px; overflow: hidden; transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .4s; box-shadow: 0 30px 60px -20px rgba(29, 24, 19, .45); }
.follower.show .follower__in { transform: scale(1); opacity: 1; }
.follower img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pour lui ---------- */
.homme { position: relative; background: var(--emerald); padding: clamp(110px, 12vw, 190px) var(--gutter); overflow: hidden; }
.homme::before { content: ""; position: absolute; inset: 0; background: var(--zellige); background-size: 120px; opacity: .07; }
.homme__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.homme__collage { position: relative; height: min(84vh, 820px); }
.homme__img1 { position: absolute; left: 0; top: 0; width: 72%; height: 88%; border-radius: 999px 999px 4px 4px; overflow: hidden; }
.homme__img2 { position: absolute; right: 0; bottom: 0; width: 46%; height: 48%; border-radius: 4px; overflow: hidden; border: 10px solid var(--emerald); }
.homme__img1 img, .homme__img2 img { width: 100%; height: 100%; object-fit: cover; }
.homme__img2 img { object-position: 50% 30%; }
.badge { position: absolute; left: 58%; top: 6%; width: 130px; height: 130px; color: var(--gold-light); z-index: 2; }
.badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font-family: var(--sans); font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; fill: currentColor; }
.badge__star { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.homme__text .lead { margin: 30px 0 40px; }
.pieces { margin: 0 0 44px; border-top: 1px solid var(--line-light); }
.pieces div { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.pieces dt { font-family: var(--serif); font-size: 1.55rem; }
.pieces dd { margin: 0; }
.pieces .ar { font-size: 1.4rem; color: var(--gold-light); grid-row: 1; grid-column: 2; align-self: center; }
.pieces dd + dd { grid-column: 1 / -1; font-size: .88rem; color: rgba(246, 240, 228, .65); }

/* ---------- Héritage ---------- */
.heritage { position: relative; padding: clamp(110px, 12vw, 190px) 0 clamp(90px, 9vw, 140px); overflow: hidden; background: var(--ivory); }
.heritage__inner { padding: 0 var(--gutter); position: relative; }
.heritage__bg { position: absolute; right: -4vw; top: 2vw; font-size: clamp(12rem, 36vw, 40rem); line-height: .8; color: var(--gold); opacity: .07; pointer-events: none; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 54px); margin-top: clamp(60px, 7vw, 110px); align-items: start; }
.tl:nth-child(even) { margin-top: 18vh; }
.tl__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--sand); }
.tl:first-child .tl__img { border-radius: 999px 999px 4px 4px; }
.tl:nth-child(3) .tl__img { border-radius: 999px 999px 4px 4px; }
.tl__img img { width: 100%; height: 100%; object-fit: cover; }
.tl--archive .tl__img img { filter: sepia(.3) contrast(1.04); }
.tl__year { display: block; margin: 22px 0 10px; font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 3.6vw, 3.8rem); line-height: 1; color: var(--gold-deep); }
.tl h3 { font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: 10px; }
.tl p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.tl small { display: block; margin-top: 10px; font-size: .68rem; color: var(--ink-3); letter-spacing: .04em; }

.ribbon { margin-top: clamp(80px, 9vw, 140px); }
.ribbon__head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 30px; }
.ribbon__head p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.ribbon__track { display: flex; width: max-content; gap: 22px; animation: marquee 60s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon figure { margin: 0; flex: none; width: clamp(180px, 17vw, 260px); }
.ribbon figure:nth-child(odd) .ribbon__img { border-radius: 999px 999px 4px 4px; }
.ribbon__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.ribbon__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ribbon figure:hover img { transform: scale(1.08); }
.ribbon figcaption { margin-top: 10px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Lexique ---------- */
.lexique { background: var(--paper); padding: clamp(110px, 12vw, 180px) var(--gutter); }
.lex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: clamp(50px, 6vw, 90px); }
.lex { display: block; width: 100%; perspective: 1200px; height: 300px; text-align: center; }
.lex__inner { display: block; position: relative; height: 100%; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
.lex.flipped .lex__inner { transform: rotateY(180deg); }
@media (hover: hover) { .lex:hover .lex__inner { transform: rotateY(180deg); } }
.lex__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 999px 999px 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 26px 26px; }
.lex__front { border: 1px solid var(--line); background: var(--ivory); }
.lex__front::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: inherit; opacity: .6; }
.lex__front .ar { font-size: 3.2rem; line-height: 1.3; color: var(--gold); }
.lex__front h3 { font-size: 1.7rem; margin-top: 6px; }
.lex__front small { margin-top: 12px; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }
.lex__back { background: var(--ink); color: var(--ivory); transform: rotateY(180deg); }
.lex__back h3 { font-size: 1.1rem; font-style: italic; color: var(--gold-light); margin-bottom: 12px; }
.lex__back p { margin: 0; font-size: .9rem; line-height: 1.55; color: rgba(246, 240, 228, .85); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(110px, 12vw, 180px) var(--gutter); background: var(--ivory); display: grid; grid-template-columns: 1fr 1.35fr; gap: 6vw; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .lead { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.85rem); line-height: 1.2; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform .6s var(--ease), background .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); background: var(--gold-pale); }
.faq details p { margin: 0 0 28px; max-width: 60ch; color: var(--ink-2); animation: fadeDown .7s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Rendez-vous ---------- */
.rdv { position: relative; background: var(--sand); padding: clamp(110px, 12vw, 180px) var(--gutter); }
.rdv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; }
.contact-list small { display: block; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-bottom: 6px; }
.contact-list a, .contact-list span { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
.contact-list a:hover { color: var(--gold-deep); }
.map { position: relative; margin-top: 46px; aspect-ratio: 4 / 3; border-radius: 999px 999px 6px 6px; overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.45) contrast(1.02) brightness(1.02); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 10px var(--sand); border-radius: inherit; }
.form { background: var(--paper); padding: clamp(28px, 4vw, 56px); border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(29, 24, 19, .25); position: relative; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: var(--braid) repeat-x center / 28px 14px; }
.form h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-bottom: 8px; }
.form > p { margin: 0 0 30px; color: var(--ink-3); font-size: .92rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.field { position: relative; margin-bottom: 26px; }
.field label { display: block; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 1rem; color: var(--ink); border-radius: 0; transition: border-color .4s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field--select::before { content: ""; position: absolute; right: 4px; bottom: 18px; width: 7px; height: 7px; border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); transform: rotate(45deg); pointer-events: none; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form__foot small { color: var(--ink-3); font-size: .74rem; max-width: 30ch; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--night); color: var(--ivory); padding: clamp(90px, 10vw, 150px) var(--gutter) 34px; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background: var(--zellige); background-size: 120px; opacity: .035; }
.footer > * { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__tag { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; margin: 0; max-width: 14em; }
.footer__tag em { color: var(--gold-light); }
.footer h4 { font-family: var(--sans); font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: rgba(246, 240, 228, .75); }
.footer ul a:hover { color: var(--gold-light); }
.footer__word { margin: clamp(60px, 7vw, 110px) 0 18px; font-family: var(--serif); font-size: 21.5vw; line-height: .78; letter-spacing: -.045em; text-align: center; white-space: nowrap; }
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: .74rem; letter-spacing: .1em; color: rgba(246, 240, 228, .55); }
.footer__bottom button { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom button:hover { color: var(--gold-light); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 170; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(21, 17, 13, .55); opacity: 0; transition: opacity .7s; backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(900px, 100%); background: var(--paper); display: grid; grid-template-columns: 1fr 1.05fr; transform: translateX(102%); transition: transform 1s var(--ease-io); overflow: hidden; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__media { position: relative; overflow: hidden; background: var(--sand); }
.drawer__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease) .2s; }
.drawer.open .drawer__media img { transform: none; }
.drawer__body { padding: 80px clamp(26px, 4vw, 56px) 40px; overflow-y: auto; display: flex; flex-direction: column; }
.drawer__close { position: absolute; top: 22px; right: 22px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; transition: transform .6s var(--ease); }
.drawer__close:hover { transform: rotate(90deg); }
.drawer__num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); }
.drawer__title { font-size: clamp(2.4rem, 4vw, 3.8rem); margin: 10px 0 6px; }
.drawer__ar { font-size: 2rem; color: var(--gold); }
.drawer__desc { color: var(--ink-2); margin: 22px 0 30px; }
.drawer__specs { margin: 0 0 34px; border-top: 1px solid var(--line); }
.drawer__specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.drawer__specs dt { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; font-weight: 500; }
.drawer__specs dd { margin: 0; }
.drawer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* ---------- Credits dialog ---------- */
.credits { width: min(860px, calc(100% - 32px)); max-height: 82vh; border: 0; border-radius: 8px; padding: 0; background: var(--paper); color: var(--ink); }
.credits::backdrop { background: rgba(21, 17, 13, .6); backdrop-filter: blur(4px); }
.credits__inner { padding: clamp(24px, 4vw, 48px); }
.credits h3 { font-size: 2rem; margin-bottom: 8px; }
.credits p { color: var(--ink-3); font-size: .9rem; margin: 0 0 20px; }
.credits ol { margin: 0; padding-left: 1.2em; font-size: .82rem; line-height: 1.7; color: var(--ink-2); }
.credits ol a { text-decoration: underline; text-underline-offset: 3px; }
.credits__close { position: sticky; top: 0; float: right; margin: 14px 14px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 110; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); transform: scale(0) rotate(-90deg); transition: transform .8s var(--ease), background .4s, color .4s; }
.fab.show { transform: none; }
.fab:hover { background: var(--gold); color: var(--ink); }
.fab svg { width: 26px; height: 26px; }
.fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Magnetic ---------- */
.magnetic { transition: transform .7s var(--ease), color .5s var(--ease), border-color .5s, background .5s; }

/* ---------- Cursor ring ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 450; pointer-events: none; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s, opacity .4s; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(180, 140, 66, .12); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold-light); border-color: transparent; }
.cursor.is-view span { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .thread { display: none; }
  .nav__tel { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 24px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl:nth-child(even) { margin-top: 10vh; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__tag { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .nav { grid-template-columns: auto 1fr auto; padding-block: 14px; }
  .brand { justify-self: center; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 24px; height: 30px; }
  .nav__menu-label { display: none; }
  .nav .btn--sm { padding: .8em 1.1em; font-size: .6rem; letter-spacing: .16em; }

  .menu { grid-template-columns: 1fr; padding-top: 90px; }
  .menu__aside { display: none; }
  .menu__list { align-self: start; }

  .hero { height: 200vh; }
  .hero__sticky { --aw: 70vw; --ah: 50svh; }
  .hero__arch { top: 62%; }
  .hero__title { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding-top: 100px; font-size: clamp(2.7rem, 13.2vw, 5.4rem); }
  .hero__col { display: contents; }
  .hero__col .line { order: var(--o); }
  .hero__col .line.sp { display: none; }
  .hero__col--r .line { align-self: flex-end; }
  .hero__title .line { transform: none; }
  .hero__meta { display: none; }
  .hero__bottom { grid-template-columns: 1fr; bottom: 3vh; }
  .hero__intro { display: none; }
  .hero__scroll { display: none; }
  .hero__cta { justify-self: stretch; justify-content: center; }
  .hero__cta .btn--ghost { display: none; }

  .manifesto__foot { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }

  .collections { height: auto !important; }
  .collections__sticky { position: static; height: auto; display: block; padding: 100px 0; }
  .collections__intro { padding: 0 var(--gutter) 40px; }
  .collections__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .collections__track::-webkit-scrollbar { display: none; }
  .card { flex-basis: 76vw; scroll-snap-align: center; }
  .card--low, .card--high { margin: 0; }
  .card__tag { opacity: 1; transform: translate(-50%, 0); }
  .collections__end { flex-basis: 70vw; scroll-snap-align: center; }
  .collections__count { display: none; }

  .process__grid { grid-template-columns: 1fr; }
  .process__media { display: none; }
  .process__list { padding-left: 46px; }
  .process__thread { left: 8px; }
  .step { min-height: 0; padding: 34px 0; }
  .js .step { opacity: 1; }
  .step__img { display: block; margin-top: 26px; aspect-ratio: 4 / 3; border-radius: 999px 999px 4px 4px; overflow: hidden; }
  .step__img img { width: 100%; height: 100%; object-fit: cover; }

  .atelier__grid { grid-template-columns: 1fr; }
  .stage { aspect-ratio: auto; height: 74vh; max-height: 640px; }
  .tag { font-size: .55rem; }
  .tag b { font-size: .9rem; }

  .occ { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .occ__num { display: none; }
  .occ__ar { display: none; }
  .occ__desc { grid-column: 1; justify-self: start; font-size: .86rem; }
  .occ__thumb { display: block; grid-column: 2; grid-row: 1 / 3; width: 76px; aspect-ratio: 3 / 4; border-radius: 999px 999px 3px 3px; overflow: hidden; }
  .occ__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .follower { display: none; }

  .homme__grid { grid-template-columns: 1fr; }
  .homme__collage { height: 110vw; max-height: 640px; }
  .badge { width: 100px; height: 100px; left: auto; right: 4%; }

  .timeline { grid-template-columns: 1fr; gap: 60px; }
  .tl:nth-child(even) { margin-top: 0; }
  .heritage__bg { font-size: 60vw; }

  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }

  .rdv__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .drawer__panel { grid-template-columns: 1fr; grid-template-rows: 42vh 1fr; }
  .drawer__body { padding-top: 34px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .contact-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .btn { padding: 1em 1.5em; letter-spacing: .16em; }
  .panel__actions .btn { flex: 1 1 100%; }
  .fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track, .ribbon__track { animation: none; }
}
