/* ============================================================
   MORIANO Atelier — style.css (v4)
   Design system: quiet luxury on the brand palette.
   Deep burgundy #2A0F0E / #3D1614 · ivory #F0E3D7 · brass.
   Display: Source Serif 4 (EN) / Amiri (AR)
   Body:    Jost (EN) / Tajawal (AR)
   Signature: tailor's measure rail, baste-stitch dividers,
   bilingual eyebrows, chalk underline.
   ============================================================ */

/* ---------- Webfonts (self-hosted) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-var.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-var-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Amiri";
  src: url("../fonts/amiri-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Amiri";
  src: url("../fonts/amiri-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #2A0F0E;          /* deepest burgundy-black */
  --wine: #3D1614;         /* brand dark burgundy   */
  --wine-2: #4C1D1A;       /* raised dark surface   */
  --wine-3: #5A2521;       /* borders on dark       */
  --paper: #F0E3D7;        /* brand ivory           */
  --cream: #F7EEE2;        /* raised light surface  */
  --brass: #A9834E;        /* brass on light        */
  --brass-2: #C9A76B;      /* brass on dark         */
  --thread: #EFE2D2;       /* text on dark          */
  --t-ink: #241211;        /* text on light         */
  --mut-l: rgba(36, 18, 17, 0.68);
  --mut-d: rgba(239, 226, 210, 0.74);
  --hair-l: rgba(42, 15, 14, 0.16);
  --hair-d: rgba(239, 226, 210, 0.17);

  --serif: "Source Serif 4", "Amiri", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Tajawal", "Helvetica Neue", Arial, sans-serif;

  --wrap: min(100% - clamp(40px, 8vw, 128px), 1280px);
  --sect: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --ls-cap: 0.32em;
}
html[lang="ar"] {
  --serif: "Amiri", "Source Serif 4", Georgia, serif;
  --sans: "Tajawal", "Jost", "Helvetica Neue", Arial, sans-serif;
  --ls-cap: 0;
}

/* ---------- Cross-page view transition (progressive) ---------- */
@view-transition { navigation: auto; }
@media not (prefers-reduced-motion: reduce) {
  ::view-transition-old(root) { animation: vt-out 0.28s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.34s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--t-ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="ar"] body { font-weight: 400; font-size: 17px; line-height: 1.95; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; z-index: 300;
  background: var(--ink); color: var(--thread); padding: 12px 22px;
  font-size: 13px; letter-spacing: 0.08em;
}
.skip-link:focus { inset-inline-start: 12px; top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 430;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
  font-weight: 400; letter-spacing: 0; line-height: 1.55;
}
html[lang="ar"] h1 { font-size: clamp(44px, 6vw, 88px); }
html[lang="ar"] .sl .sl-line { padding-block-end: 0.22em; margin-block-end: -0.22em; }
h1 { font-size: clamp(50px, 7.2vw, 106px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); }
h1 em, h2 em { font-style: italic; font-weight: 380; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-style: normal; color: var(--brass); }
.dark h2 em, .band h2 em { color: var(--brass-2); }

.eyebrow {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: var(--ls-cap); text-transform: uppercase;
  color: var(--brass); margin-bottom: clamp(20px, 2.6vw, 32px);
  white-space: nowrap;
}
.eyebrow::after { content: ""; flex: 1 1 0; min-width: 34px; height: 1px; background: currentColor; opacity: 0.3; }
.eyebrow--center::before { content: ""; flex: 1 1 0; min-width: 34px; height: 1px; background: currentColor; opacity: 0.3; }
html[lang="ar"] .eyebrow { font-size: 13.5px; font-weight: 500; }

.lede { font-size: clamp(17px, 1.55vw, 19.5px); line-height: 1.8; max-width: 58ch; color: var(--mut-l); }
.lede--light { color: var(--mut-d); }
.body-copy { max-width: 56ch; }
.body-copy p + p { margin-top: 1.1em; }
.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: 20px; }

/* ---------- Sections & surfaces ---------- */
.section { padding-block: var(--sect); position: relative; }
.section.dark, .craft { background: var(--ink); color: var(--thread); }
.section.dark-warm { background: var(--wine); color: var(--thread); }
.section.paper { background: var(--cream); }
.dark .lede, .dark-warm .lede { color: var(--mut-d); }
.dark .eyebrow, .dark-warm .eyebrow { color: var(--brass-2); }
.hairline-top { border-top: 1px solid var(--hair-l); }

/* Baste-stitch divider — a running thread that sews itself in */
.stitch { height: 5px; width: min(320px, 42%); margin: 0 auto; position: relative; overflow: clip; }
.stitch::before {
  content: ""; position: absolute; inset: 2px 0;
  background: repeating-linear-gradient(90deg,
    var(--brass) 0 11px, transparent 11px 20px);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.6s var(--ease) 0.15s;
  opacity: 0.85;
}
[dir="rtl"] .stitch::before { transform-origin: 100% 50%; }
.stitch.in::before { transform: scaleX(1); }
.stitch--onDark::before { background: repeating-linear-gradient(90deg, var(--brass-2) 0 11px, transparent 11px 20px); }
.stitch--flush { margin-block: calc(var(--sect) * -0.35) 0; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 34px; border: 1px solid var(--brass);
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--thread); overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 14px; padding: 15px 34px; }
.btn .btn-fill {
  position: absolute; inset: 0; z-index: -1; background: var(--brass);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass .btn-fill { background: var(--thread); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--thread); }
.btn--solid .btn-fill { background: var(--brass); }
.btn--solid:hover { color: var(--ink); }
.section:not(.dark):not(.dark-warm) .btn--line, .paper .btn--line { color: var(--t-ink); }

.link-quiet {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--hair-l);
  transition: border-color 0.4s, gap 0.4s var(--ease);
}
html[lang="ar"] .link-quiet { letter-spacing: 0; font-size: 14px; }
.dark .link-quiet, .dark-warm .link-quiet, .band .link-quiet { border-color: var(--hair-d); }
.link-quiet:hover { border-color: var(--brass); gap: 16px; }
.arrow { display: inline-block; transition: transform 0.4s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
a:hover .arrow, button:hover .arrow { transform: translateX(5px); }
[dir="rtl"] a:hover .arrow, [dir="rtl"] button:hover .arrow { transform: scaleX(-1) translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 120;
  padding-block: 18px;
  transition: transform 0.55s var(--ease), background 0.45s, padding 0.45s, box-shadow 0.45s;
}
.site-header .wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.site-header .brand { flex: none; }
.site-header .brand img { width: 88px; height: auto; }
.site-header.scrolled {
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 10px;
  box-shadow: 0 1px 0 var(--hair-d);
}
.site-header.hidden-up { transform: translateY(-110%); }
.site-nav { display: flex; gap: clamp(18px, 2.4vw, 34px); margin-inline-start: auto; }
.site-nav a {
  font-family: var(--sans); font-weight: 400; font-size: 12.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--thread);
  padding-block: 6px; position: relative; opacity: 0.85;
  transition: opacity 0.3s;
}
html[lang="ar"] .site-nav a { letter-spacing: 0; font-size: 14.5px; font-weight: 500; }
.site-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--brass-2); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
[dir="rtl"] .site-nav a::after { transform-origin: 100% 50%; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.contact-link {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--thread); opacity: 0.85;
}
html[lang="ar"] .contact-link { letter-spacing: 0; font-size: 14.5px; }
.contact-link:hover { opacity: 1; }
.lang-switch {
  font-family: var(--serif); font-size: 15px; color: var(--brass-2);
  border-bottom: 1px solid transparent; line-height: 1.2; padding-bottom: 2px;
  transition: border-color 0.35s;
}
html[lang="ar"] .lang-switch { font-family: "Source Serif 4", serif; font-size: 13.5px; letter-spacing: 0.06em; }
.lang-switch:hover { border-color: var(--brass-2); }
.site-header .btn { padding: 12px 24px; font-size: 11px; }
html[lang="ar"] .site-header .btn { font-size: 13px; }

.nav-toggle { display: none; flex-direction: column; gap: 7px; padding: 10px 4px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--thread); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-open .nav-toggle span:first-child { transform: translateY(4.2px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--thread);
  display: flex; flex-direction: column; justify-content: center; gap: 8vh;
  padding: max(14vh, 110px) 8vw 7vh;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.nav-open .nav-overlay { opacity: 1; visibility: visible; }
.nav-overlay nav { display: flex; flex-direction: column; gap: 4px; }
.nav-overlay nav a {
  font-family: var(--serif); font-size: clamp(34px, 8vw, 54px); line-height: 1.35;
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.nav-open .nav-overlay nav a { opacity: 1; transform: none; }
.nav-open .nav-overlay nav a:nth-child(2) { transition-delay: 0.06s; }
.nav-open .nav-overlay nav a:nth-child(3) { transition-delay: 0.12s; }
.nav-open .nav-overlay nav a:nth-child(4) { transition-delay: 0.18s; }
.nav-open .nav-overlay nav a:nth-child(5) { transition-delay: 0.24s; }
.nav-overlay nav small { font-family: var(--sans); font-size: 12px; color: var(--brass-2); letter-spacing: 0.2em; }
.overlay-meta { display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: 13.5px; color: var(--mut-d); align-items: center; }
.overlay-meta a { color: var(--brass-2); }
.lang-switch--overlay { font-size: 17px; }

/* ---------- Preloader ---------- */
.preloader[hidden] { display: none !important; }
.preloader {
  position: fixed; inset: 0; z-index: 400; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader .pre-mark img { width: 54px; opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s; }
.preloader .pre-word {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--thread); opacity: 0; transition: opacity 0.9s var(--ease) 0.35s;
  padding-inline-start: 0.42em;
}
html[lang="ar"] .preloader .pre-word { letter-spacing: 0; font-size: 19px; padding-inline-start: 0; }
.pre-thread { width: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--brass-2) 0 9px, transparent 9px 16px); transition: width 1.3s var(--ease) 0.3s; }
.preloader.go .pre-mark img { opacity: 1; transform: none; }
.preloader.go .pre-word { opacity: 0.92; }
.preloader.go .pre-thread { width: 180px; }
.preloader.lift { opacity: 0; visibility: hidden; }

/* ---------- Measure rail (signature) ---------- */
.measure-rail {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: 44px; z-index: 90;
  pointer-events: none; opacity: 0; transition: opacity 0.8s ease 0.2s;
}
.rail-on .measure-rail { opacity: 1; }
.measure-rail .mr-track {
  position: absolute; top: 8vh; bottom: 8vh; inset-inline-end: 16px; width: 9px;
  background:
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 14px) 100% 0 / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 70px) 100% 0 / 9px 100% no-repeat;
  color: var(--brass); opacity: 0.4;
}
[dir="rtl"] .measure-rail .mr-track { background-position: 0 0, 0 0; }
.measure-rail .mr-pin {
  position: absolute; inset-inline-end: 12px; top: 8vh; width: 17px; height: 1.5px;
  background: var(--brass); box-shadow: 0 0 0 0.5px var(--brass);
}
.measure-rail .mr-pin::after {
  content: attr(data-cm); position: absolute; inset-inline-end: calc(100% + 7px); top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.14em; color: var(--brass);
}
.dark-view .measure-rail .mr-track, .dark-view .measure-rail .mr-pin { color: var(--brass-2); background-color: var(--brass-2); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  background: var(--ink);
  color: var(--thread);
  display: flex; align-items: center;
  padding-block: clamp(120px, 14vh, 170px) clamp(40px, 6vh, 80px);
  overflow: clip;
}
.hero::after {
  /* faint herringbone weave in the cloth */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background: repeating-linear-gradient(45deg, var(--thread) 0 1px, transparent 1px 9px),
              repeating-linear-gradient(-45deg, var(--thread) 0 1px, transparent 1px 9px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 90px); align-items: center; position: relative; z-index: 2; }
.hero-copy .lede { margin-top: clamp(22px, 2.6vw, 32px); opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease) 0.75s, transform 0.9s var(--ease) 0.75s; }
.hero.in .hero-copy .lede { opacity: 1; transform: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; margin-top: clamp(30px, 3.6vw, 44px); opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease) 0.95s, transform 0.9s var(--ease) 0.95s; }
.hero.in .hero-ctas { opacity: 1; transform: none; }

.hero-media { position: relative; }
.hero-media .arch-frame {
  position: relative; padding: 12px; border: 1px solid rgba(201, 167, 107, 0.5);
  border-radius: 999px 999px 0 0;
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease) 0.55s, transform 1.1s var(--ease) 0.55s;
}
.hero.in .hero-media .arch-frame { opacity: 1; transform: none; }
.arch { overflow: clip; border-radius: 999px 999px 0 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4.05; }
.hero-caption { margin-top: 16px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mut-d); text-align: center; }
html[lang="ar"] .hero-caption { letter-spacing: 0.04em; font-size: 13px; }
.hero-side {
  position: absolute; right: 30px; left: auto; top: 50%;
  transform: translateY(-50%); writing-mode: vertical-rl;
  font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(239, 226, 210, 0.35);
}
[dir="rtl"] .hero-side { right: auto; left: 30px; transform: translateY(-50%) rotate(180deg); }
html[lang="ar"] .hero-side { letter-spacing: 0.1em; font-size: 12px; }
.hero-scroll {
  position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--mut-d);
  padding-bottom: 44px;
}
[dir="rtl"] .hero-scroll { transform: translateX(50%); }
html[lang="ar"] .hero-scroll { letter-spacing: 0.08em; font-size: 12px; }
.hero-scroll::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--brass-2), transparent);
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Chalk underline under the key hero word */
.chalk { position: relative; display: inline-block; }
.chalk svg { position: absolute; inset-inline: -4%; bottom: -0.14em; width: 108%; height: 0.34em; overflow: visible; }
.chalk svg path {
  fill: none; stroke: var(--brass-2); stroke-width: 2.4; stroke-linecap: round; opacity: 0.85;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease) 1.15s;
}
.hero.in .chalk svg path, .chalk.drawn svg path { stroke-dashoffset: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  color: var(--thread); overflow: clip;
  padding-block: clamp(140px, 18vh, 190px) clamp(46px, 7vh, 84px);
}
.page-hero .media { position: absolute; inset: 0; }
.page-hero .media img { width: 100%; height: 115%; object-fit: cover; }
.page-hero .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(42, 15, 14, 0.28) 0%, rgba(42, 15, 14, 0.78) 62%, var(--ink) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .lede { margin-top: 20px; }

/* ---------- Split & image clusters ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 100px); align-items: center; }
.img-cluster { position: relative; }
.img-cluster .main { width: 82%; }
.img-cluster .main img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.img-cluster .overlap {
  position: absolute; width: 46%; inset-inline-end: 0; bottom: -9%;
  border: 6px solid var(--paper); z-index: 2;
}
.section.dark .img-cluster .overlap, .section.dark-warm .img-cluster .overlap { border-color: var(--wine); }
.img-cluster .overlap img { aspect-ratio: 3.4 / 4; object-fit: cover; width: 100%; }

/* Curtain reveal */
figure.img-reveal { position: relative; overflow: clip; }
figure.img-reveal::after {
  content: ""; position: absolute; inset: 0; background: var(--wine);
  transform: scaleY(1); transform-origin: 50% 0;
  transition: transform 1.1s var(--ease);
}
.section:not(.dark):not(.dark-warm) figure.img-reveal::after { background: var(--paper); }
figure.img-reveal img { transform: scale(1.12); opacity: 0.85; transition: transform 1.5s var(--ease), opacity 1s ease; }
figure.img-reveal.shown::after { transform: scaleY(0); }
figure.img-reveal.shown img { transform: none; opacity: 1; }

/* ---------- Maisons ticker ---------- */
.maisons { background: var(--ink); color: var(--thread); padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--wine-2); overflow: clip; }
.maisons-kicker {
  text-align: center; font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--brass-2); margin-bottom: clamp(26px, 3vw, 40px);
}
html[lang="ar"] .maisons-kicker { letter-spacing: 0.06em; font-size: 13px; }
.maisons-track { display: flex; width: max-content; animation: maisons-slide 46s linear infinite; }
.maisons:hover .maisons-track { animation-play-state: paused; }
@keyframes maisons-slide { to { transform: translateX(-50%); } }
[dir="rtl"] .maisons-track { animation-name: maisons-slide-rtl; }
@keyframes maisons-slide-rtl { to { transform: translateX(50%); } }
.maison { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; flex: none; margin-inline-end: clamp(60px, 7.5vw, 120px); min-height: 74px; }
.mw-logo { height: 24px; width: auto; opacity: 0.92; }
.mw-logo[alt*="Dormeuil"], .mw-logo[alt*="Holland"], .mw-logo[alt*="Caccioppoli"], .mw-logo[alt*="Canclini"] { height: 35px; }
.mw-logo[alt*="Vitale"] { height: 50px; }
.maison .mc { font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(239, 226, 210, 0.42); }
html[lang="ar"] .maison .mc { letter-spacing: 0.06em; font-size: 11px; }

/* ---------- Craft (pinned horizontal) ---------- */
.craft { overflow: clip; }
.craft-intro { padding-block: var(--sect) clamp(40px, 5vw, 70px); }
.craft-stage { position: relative; }
.craft-track { display: flex; gap: clamp(30px, 4vw, 60px); padding-inline: max((100vw - 1280px) / 2, clamp(20px, 4vw, 64px)); width: max-content; align-items: stretch; }
.craft-panel { width: min(430px, 78vw); flex: none; display: flex; flex-direction: column; }
.craft-panel figure { margin-bottom: 26px; }
.craft-panel figure img { aspect-ratio: 4 / 4.7; object-fit: cover; width: 100%; }
.panel-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.panel-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--brass-2); letter-spacing: 0.1em; }
html[lang="ar"] .panel-num { font-style: normal; }
.craft-panel p { color: var(--mut-d); font-size: 15.5px; max-width: 40ch; }
.craft-panel--end { justify-content: center; align-items: flex-start; gap: 22px; width: min(480px, 80vw); }
.craft-progress { width: min(420px, 70vw); margin: clamp(40px, 5vw, 64px) auto 0; position: relative; height: 14px; }
.craft-progress::before { content: ""; position: absolute; inset-inline: 0; top: 6px; height: 1px; background: var(--wine-3); }
.craft-progress .bar { position: absolute; inset-inline-start: 0; top: 6px; height: 1px; width: 100%; background: var(--brass-2); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .craft-progress .bar { transform-origin: 100% 50%; }
.craft-progress .cm {
  position: absolute; top: -22px; inset-inline-start: 0; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: 0.18em; color: var(--brass-2); font-family: var(--sans); white-space: nowrap;
}
[dir="rtl"] .craft-progress .cm { transform: translateX(50%); }

/* ---------- Services (editorial cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.services-grid .service-card:nth-child(2), .services-grid .service-card:nth-child(4) { margin-top: clamp(30px, 4vw, 64px); }
.service-card { display: block; }
.service-card figure img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.service-card:hover figure img { transform: scale(1.045); }
.service-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair-l); }
.service-num { font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--brass); flex: none; }
html[lang="ar"] .service-num { font-style: normal; }
.service-name { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.3; }
.service-meta .arrow { margin-inline-start: auto; color: var(--brass); }
.service-note { display: block; margin-top: 6px; font-size: 13px; color: var(--mut-l); letter-spacing: 0.04em; }

/* ---------- Journey rows (home) ---------- */
.journey-rows { border-top: 1px solid var(--hair-d); }
.journey-row {
  display: grid; grid-template-columns: 72px minmax(0, 1.05fr) minmax(0, 1.4fr) 40px;
  gap: clamp(16px, 3vw, 44px); align-items: center;
  padding-block: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--hair-d);
  position: relative; transition: padding-inline-start 0.5s var(--ease);
}
.journey-row .num { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--brass-2); }
html[lang="ar"] .journey-row .num { font-style: normal; }
.journey-row h3 { font-size: clamp(21px, 2.4vw, 30px); }
.journey-row p { color: var(--mut-d); font-size: 15px; max-width: 52ch; }
.journey-row .row-arrow { color: var(--brass-2); font-size: 19px; opacity: 0; transform: translateX(-10px); transition: opacity 0.4s, transform 0.5s var(--ease); }
[dir="rtl"] .journey-row .row-arrow { transform: scaleX(-1) translateX(-10px); }
.journey-row:hover { padding-inline-start: 14px; }
.journey-row:hover .row-arrow { opacity: 1; transform: translateX(0); }
[dir="rtl"] .journey-row:hover .row-arrow { transform: scaleX(-1); }
.journey-float {
  position: fixed; z-index: 95; width: 240px; aspect-ratio: 3 / 4; pointer-events: none;
  transform: translate(-50%, -58%) rotate(2.5deg) scale(0.9); opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
  overflow: clip;
}
.journey-float.on { opacity: 1; transform: translate(-50%, -58%) rotate(0deg) scale(1); }
.journey-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.journey-float img.on { opacity: 1; }

/* ---------- Band (full-bleed CTA) ---------- */
.band { position: relative; color: var(--thread); overflow: clip; padding-block: clamp(110px, 16vw, 210px); }
.band .media { position: absolute; inset: 0; }
.band .media img { width: 100%; height: 118%; object-fit: cover; }
.band .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 12, 11, 0.92) 10%, rgba(36, 12, 11, 0.5) 62%, rgba(36, 12, 11, 0.65) 100%); }
[dir="rtl"] .band .media::after { background: linear-gradient(-90deg, rgba(36, 12, 11, 0.92) 10%, rgba(36, 12, 11, 0.5) 62%, rgba(36, 12, 11, 0.65) 100%); }
.band .wrap { position: relative; z-index: 2; }
.band .lede { margin-block: 18px 34px; }

/* ---------- Reviews (Google) ---------- */
.reviews { text-align: center; }
.reviews .lede { margin: 18px auto 0; }
.google-reviews {
  display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(28px, 3.6vw, 40px);
  padding-bottom: 12px; border-bottom: 1px solid var(--hair-l);
  transition: border-color 0.4s, gap 0.4s var(--ease);
}
.google-reviews:hover { border-color: var(--brass); gap: 20px; }
.g-logo svg { width: 21px; height: 21px; display: block; }
.gr-meta { text-align: start; }
.gr-headline { display: block; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); }
.gr-label { display: none; }
.gr-arrow { color: var(--brass); }
.reviews-note { margin-top: 26px; font-size: 13px; color: var(--mut-l); }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.value { padding-top: 26px; border-top: 1px solid var(--hair-d); position: relative; }
.value::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 44px; height: 1px; background: var(--brass-2); }
.value h3 { margin-bottom: 12px; }
.value p { color: var(--mut-d); font-size: 15px; }

/* ---------- Gallery strip ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.gallery-strip figure img { aspect-ratio: 3 / 3.8; object-fit: cover; width: 100%; }

/* ---------- Journey page ---------- */
.journey-wrap { position: relative; }
.journey-rail { position: sticky; top: 0; height: 0; z-index: 5; display: block; }
.rail-inner { position: absolute; top: 42vh; inset-inline-start: clamp(6px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 20px; }
.rail-dot { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; color: var(--mut-l); position: relative; padding-inline-start: 16px; transition: color 0.4s; }
.rail-dot::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 8px; height: 1px; background: currentColor; }
.rail-dot.active { color: var(--brass); }
.journey-stage { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(36px, 6vw, 100px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.journey-stage + .journey-stage { border-top: 1px solid var(--hair-l); }
.journey-stage.flip > div:first-child { order: 2; }
.journey-stage .num { font-family: var(--serif); font-style: italic; font-size: clamp(38px, 4.4vw, 60px); color: var(--brass); display: block; line-height: 1; margin-bottom: 16px; }
html[lang="ar"] .journey-stage .num { font-style: normal; }
.journey-stage h2 { font-size: clamp(29px, 3.4vw, 44px); margin-bottom: 20px; }
.journey-stage p + p { margin-top: 0.9em; }
.stage-detail { font-size: 13px; letter-spacing: 0.06em; color: var(--brass); border-inline-start: 2px solid var(--brass); padding-inline-start: 14px; margin-top: 1.4em !important; }
.stage-media .arch-frame { padding: 10px; border: 1px solid rgba(169, 131, 78, 0.5); border-radius: 999px 999px 0 0; }
.key-frame { position: relative; }
.key-frame::before {
  content: ""; position: absolute; z-index: 0;
  inset-block-start: 16px; inset-block-end: -16px;
  inset-inline-start: 16px; inset-inline-end: -16px;
  border: 1px solid rgba(169, 131, 78, 0.45);
}
.key-frame figure { position: relative; z-index: 1; }
.key-frame .plain img { aspect-ratio: 3 / 3.7; object-fit: cover; width: 100%; }

/* ---------- Houses grid ---------- */
.houses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--wine-3); border-inline-end: 0; border-block-end: 0; }
.house { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: clamp(26px, 3.4vw, 46px) 16px; border-inline-end: 1px solid var(--wine-3); border-block-end: 1px solid var(--wine-3); text-align: center; transition: background 0.5s; }
.house:hover { background: var(--wine); }
.house { min-height: 128px; justify-content: flex-end; }
.h-logo { height: 27px; width: auto; opacity: 0.92; }
.h-logo[alt*="Dormeuil"], .h-logo[alt*="Holland"], .h-logo[alt*="Caccioppoli"], .h-logo[alt*="Canclini"] { height: 40px; }
.h-logo[alt*="Vitale"] { height: 56px; }
.house small { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(239, 226, 210, 0.42); margin-top: 4px; }
html[lang="ar"] .house small { letter-spacing: 0.06em; font-size: 11px; }

/* ---------- Service rows (services page) ---------- */
.service-row { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 100px); align-items: center; padding-block: clamp(44px, 6vw, 84px); }
.service-row + .service-row { border-top: 1px solid var(--hair-l); }
.service-row.flip figure { order: 2; }
.service-row figure img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.service-row .num { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0.16em; color: var(--brass); display: block; margin-bottom: 14px; text-transform: uppercase; }
html[lang="ar"] .service-row .num { font-style: normal; letter-spacing: 0; }
.service-row h2 { margin-bottom: 18px; }
.service-row p + p { margin-top: 0.9em; }
.service-row .btn { margin-top: 26px; }

/* ---------- Configurator ---------- */
.config-steps { display: grid; gap: clamp(36px, 5vw, 54px); }
.step-label { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
html[lang="ar"] .step-label { letter-spacing: 0.02em; font-size: 14px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 15px; }
html[lang="ar"] .step-n { font-style: normal; }
.config-options { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 20px); }
.config-opt {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: clamp(120px, 14vw, 158px); padding: 22px 12px 18px;
  border: 1px solid var(--wine-3); color: var(--thread);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}
.config-opt:hover { border-color: var(--brass-2); transform: translateY(-3px); }
.config-opt[aria-pressed="true"] { border-color: var(--brass-2); background: var(--wine); }
.config-opt svg { width: 44px; height: 44px; stroke: var(--brass-2); fill: none; stroke-width: 1.1; }
.config-opt svg circle[r="0.8"] { fill: var(--brass-2); }
.opt-name { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; }
html[lang="ar"] .opt-name { letter-spacing: 0; font-size: 13.5px; }
.config-line { margin-top: clamp(44px, 6vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--wine-3); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.config-sentence { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 29px); min-height: 1.4em; }
html[lang="ar"] .config-sentence { font-style: normal; }
.config-x { color: var(--brass-2); }
.config-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .lede { margin: 20px auto 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 20px 34px; align-items: center; justify-content: center; margin-top: clamp(30px, 4vw, 44px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--hair-l); }
.faq-item { border-bottom: 1px solid var(--hair-l); }
.faq-item summary {
  list-style: none; display: flex; align-items: baseline; gap: 22px;
  padding-block: clamp(20px, 2.6vw, 30px); cursor: pointer;
  font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); line-height: 1.4;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brass); }
.faq-mark { margin-inline-start: auto; font-family: var(--sans); font-weight: 300; font-size: 21px; color: var(--brass); transition: transform 0.45s var(--ease); flex: none; }
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-body { padding-block: 0 clamp(22px, 2.6vw, 30px); max-width: 64ch; color: var(--mut-l); }

/* ---------- Legal ---------- */
.legal { max-width: 800px; }
.legal-updated { font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass); margin-bottom: clamp(30px, 4vw, 44px); }
html[lang="ar"] .legal-updated { letter-spacing: 0.02em; font-size: 13px; }
.legal-section { padding-block: clamp(26px, 3.4vw, 40px); border-top: 1px solid var(--hair-l); }
.legal-section h2 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 14px; }
.legal-section ul { margin-top: 12px; padding-inline-start: 20px; color: var(--mut-l); }
.legal-section li + li { margin-top: 7px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--thread); }
.footer-logo-band { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(48px, 7vw, 90px) 6vw clamp(30px, 4vw, 50px); }
.footer-logo-band::before, .footer-logo-band::after { content: ""; height: 1px; flex: 1; background: repeating-linear-gradient(90deg, var(--wine-3) 0 10px, transparent 10px 18px); }
.footer-logo-band img { width: clamp(150px, 17vw, 220px); height: auto; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(34px, 5vw, 70px); padding-block: clamp(30px, 4vw, 50px) clamp(44px, 6vw, 70px); }
.footer-brand p { color: var(--mut-d); font-size: 15px; max-width: 34ch; }
.footer-contact { margin-top: 22px; line-height: 2.15; font-size: 14.5px; }
.footer-contact a { color: var(--thread); border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.footer-contact a:hover { color: var(--brass-2); border-color: var(--brass-2); }
.footer-col h3 { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 20px; }
html[lang="ar"] .footer-col h3 { letter-spacing: 0.02em; font-size: 13.5px; }
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { color: var(--mut-d); font-size: 14.5px; transition: color 0.3s; }
.footer-col a:hover { color: var(--thread); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: space-between; padding-block: 24px 30px; border-top: 1px solid var(--wine-2); font-size: 12.5px; color: var(--mut-d); }
.doha-time { margin-inline-start: 22px; letter-spacing: 0.12em; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 14.5px; color: var(--brass-2); }
html[lang="ar"] .tagline { font-style: normal; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a:hover { color: var(--thread); }

/* ---------- Cursor ---------- */
.cursor-on * { cursor: none !important; }
.cursor-dot { position: fixed; z-index: 500; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-2); pointer-events: none; left: 0; top: 0; }
.cursor-ring {
  position: fixed; z-index: 499; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.65); pointer-events: none; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, margin 0.3s;
}
.cursor-ring.is-active { width: 46px; height: 46px; margin: -6px; background: rgba(176, 141, 87, 0.12); }
.cursor-ring.has-label { width: 66px; height: 66px; margin: -16px; background: rgba(42, 15, 14, 0.82); border-color: var(--brass-2); }
.cursor-label { opacity: 0; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--thread); transition: opacity 0.3s; }
html[lang="ar"] .cursor-label { letter-spacing: 0.02em; font-size: 11px; }
.cursor-ring.has-label .cursor-label { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(24, 8, 7, 0.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 4vh 4vw; opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82svh; max-width: 92vw; width: auto; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.lb-caption { color: var(--mut-d); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="ar"] .lb-caption { letter-spacing: 0.02em; }
.lb-close { position: absolute; top: 22px; inset-inline-end: 28px; color: var(--thread); font-size: 30px; padding: 10px; transition: transform 0.4s var(--ease); }
.lb-close:hover { transform: rotate(90deg); }

/* ---------- Reveal primitives ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.sl { overflow: visible; }
.sl .sl-line { display: block; overflow: clip; padding-block-end: 0.16em; margin-block-end: -0.16em; }
.sl .sl-inner { display: block; transform: translateY(115%); }
.sl.sl-done .sl-inner { transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--thread); text-align: center; }
.notfound .eyebrow { justify-content: center; }
.notfound .actions { margin-top: 36px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .measure-rail { display: none; }
}
@media (max-width: 1100px) {
  .site-nav, .contact-link { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid .service-card:nth-child(2), .services-grid .service-card:nth-child(4) { margin-top: 0; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .houses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-rail { display: none; }
}
@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 420px; }
  .hero-side, .hero-scroll { display: none; }
  .split, .journey-stage, .service-row { grid-template-columns: 1fr; gap: 44px; }
  .journey-stage.flip > div:first-child, .service-row.flip figure { order: 0; }
  .journey-row { grid-template-columns: 44px 1fr 24px; grid-template-areas: "num title arrow" "num desc arrow"; }
  .journey-row .num { grid-area: num; }
  .journey-row h3 { grid-area: title; }
  .journey-row p { grid-area: desc; margin-top: 6px; }
  .journey-row .row-arrow { grid-area: arrow; }
  .journey-float { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .craft-track { padding-inline: 6vw; }
  .img-cluster .overlap { bottom: -6%; }
  .config-opt { width: calc(50% - 10px); }
}
@media (max-width: 620px) {
  .eyebrow { white-space: normal; flex-wrap: wrap; row-gap: 6px; }
  .section-head--center .eyebrow { justify-content: center; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr; }
  .houses-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .site-header .btn { display: none; }
  .cta-band .actions { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal, .sl .sl-inner, figure.img-reveal img { opacity: 1 !important; transform: none !important; }
  figure.img-reveal::after { display: none; }
  .hero .lede, .hero-ctas, .hero-media .arch-frame { opacity: 1; transform: none; }
  .stitch::before { transform: scaleX(1); }
  .chalk svg path { stroke-dashoffset: 0; }
  .hero-scroll::after { animation: none; }
  .maisons-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 26px; }
  .maisons-track .maison:nth-child(n+9) { display: none; }
  .journey-float { display: none; }
}

/* No-motion / no-pin fallback for the craft sequence */
.no-motion .craft-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 40px; }
.no-motion .craft-progress { display: none; }
@media (max-width: 860px) {
  .craft-track { flex-direction: column; width: auto; padding-inline: 6vw; gap: 54px; }
  .craft-panel { width: 100%; }
  .craft-panel figure img { aspect-ratio: 4 / 4.2; }
  .craft-progress { display: none; }
}


/* ---------- Material grain ---------- */
body, .section.dark, .section.dark-warm, .section.paper, .craft, .maisons,
.hero, .site-footer, .notfound {
  background-image: url("../img/noise.png");
}
