/* ══════════════════════════════════════════════════
   VILLA DE FLEURS — فيلا دي فلور
   Palette from the brand's own logo & photography:
   Plum / Greige / Cream / Lavender / Champagne
   Type: Playfair Display (display) · Figtree (body) · El Messiri (arabic)
   ══════════════════════════════════════════════════ */

:root {
  --plum: #322a44;
  --plum-2: #3d3454;
  --plum-3: #4b3f63;
  --lavender: #a89bc7;
  --lavender-soft: #cfc6e2;
  --greige: #f1ebe2;
  --greige-2: #e2d8c9;
  --taupe: #7d6753;
  --cream: #f8f4ec;
  --champagne: #c9ac79;
  --ink: #322b40;
  --ink-soft: #565064;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --font-ar: "El Messiri", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --arch-radius: 999px 999px 14px 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--greige);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ar { font-family: var(--font-ar); font-style: normal; }

::selection { background: var(--plum-3); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Brand mark (geometric tulip) sizing helper */
.mark { display: inline-block; }

/* ═══════════ STATIC MODE (?static=1) ═══════════ */
html.is-static .preloader { display: none; }
html.is-static .hero__eyebrow,
html.is-static .hero__foot,
html.is-static .hero__scrollcue { opacity: 1; animation: none; }
html.is-static .hero__arch--c {
  animation: none;
  clip-path: inset(0 0 0 0 round var(--arch-radius));
}
html.is-static .hero__arch--c img { animation: none; transform: scale(1); }
html.is-static .hero__arch--l, html.is-static .hero__arch--r {
  animation: none; opacity: 1;
}
html.is-static .hero__arch--l { transform: translate(-108%, 4%) rotate(-6deg) scale(0.86); }
html.is-static .hero__arch--r { transform: translate(108%, 4%) rotate(6deg) scale(0.86); }
html.is-static .hl { animation: none; transform: none; }
html.is-static .hero__de em { animation: none; opacity: 1; filter: none; transform: none; }
html.is-static .hero__scrollcue-line { animation: none; }
html.is-static .marquee__track { animation: none; }
html.is-static .reveal { opacity: 1; transform: none; transition: none; }
html.is-static .hero__petals { display: none; }
html.is-static .hero { min-height: 960px; }

/* ═══════════ PRELOADER ═══════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.preloader::before, .preloader::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 50.5%;
  background: var(--plum);
  transition: transform 0.85s var(--ease-soft);
}
.preloader::before { left: 0; }
.preloader::after { right: 0; }
.preloader.is-done::before { transform: translateX(-101%); }
.preloader.is-done::after { transform: translateX(101%); }

.preloader__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  z-index: 1;
  color: var(--cream);
  transition: opacity 0.4s var(--ease-out);
}
.preloader.is-done .preloader__inner { opacity: 0; }

.preloader__tulip { width: 74px; height: auto; color: var(--lavender-soft); }
.preloader__tulip * {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: tulipDraw 1.1s var(--ease-soft) forwards;
}
.preloader__tulip *:nth-child(1) { animation-delay: 0.55s; }
.preloader__tulip *:nth-child(2) { animation-delay: 0.10s; }
.preloader__tulip *:nth-child(3) { animation-delay: 0.16s; }
.preloader__tulip *:nth-child(4) { animation-delay: 0.22s; }
.preloader__tulip *:nth-child(5) { animation-delay: 0.28s; }
.preloader__tulip *:nth-child(6) { animation-delay: 0.34s; }
.preloader__tulip *:nth-child(7) { animation-delay: 0.40s; }
.preloader__tulip *:nth-child(8) { animation-delay: 0.46s; }
.preloader__tulip *:nth-child(9) { animation-delay: 0.52s; }
.preloader__tulip *:nth-child(10) { animation-delay: 0.62s; }
.preloader__tulip *:nth-child(11) { animation-delay: 0.72s; }
@keyframes tulipDraw { to { stroke-dashoffset: 0; } }

.preloader__word {
  font-size: 0.76rem;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  padding-left: 0.52em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}
.preloader__ar {
  font-family: var(--font-ar);
  font-size: 0.95rem;
  color: var(--lavender);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ CURSOR ═══════════ */

.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
}
.cursor { width: 6px; height: 6px; background: var(--lavender); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--lavender);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; }
body.has-cursor .cursor, body.has-cursor .cursor-ring { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor, .cursor-ring { display: none; }
}

/* ═══════════ BUTTONS ═══════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  will-change: transform;
}
.btn--brand { background: var(--lavender); color: var(--plum); }
.btn--brand:hover { background: var(--cream); }
.btn--cream { background: var(--cream); color: var(--plum); }
.btn--cream:hover { background: var(--lavender); }
.btn--line { border: 1px solid currentColor; background: transparent; }
.btn--line:hover { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.btn--ghost {
  border: 1px solid rgba(248, 244, 236, 0.35);
  background: transparent;
  color: var(--cream);
  padding: 0.7rem 1.4rem;
}
.btn--ghost:hover { background: var(--cream); color: var(--plum); }

/* ═══════════ HEADER ═══════════ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  color: var(--cream);
}
.header.is-solid {
  background: rgba(50, 42, 68, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(248, 244, 236, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 84px;
}
.nav__brand { display: flex; align-items: center; gap: 0.8rem; }
.nav__brand .mark { width: 22px; color: var(--lavender); }
.nav__brand-name {
  font-size: 0.76rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--lavender);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__burger { display: none; flex-direction: column; gap: 6px; padding: 10px 4px; }
.nav__burger span {
  width: 26px; height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.nav__burger.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

.mobmenu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--plum);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobmenu.is-open { opacity: 1; visibility: visible; }
.mobmenu__links { text-align: center; display: grid; gap: 1.3rem; }
.mobmenu__links a { font-family: var(--font-display); font-size: 2rem; }
.mobmenu__ar { font-family: var(--font-ar); opacity: 0.6; }

/* ═══════════ HERO ═══════════ */

.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(90% 70% at 50% 12%, var(--plum-2) 0%, transparent 60%),
    radial-gradient(120% 100% at 50% 100%, #2a2339 0%, var(--plum) 55%);
  background-color: var(--plum);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__petals {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 90px;
  width: 100%;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: 1.1rem;
  font-size: 0.76rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 1.5s forwards;
}
.hero__eyebrow-ar {
  font-family: var(--font-ar);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.hero__eyebrow-rule { width: 46px; height: 1px; background: currentColor; opacity: 0.5; }

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: clamp(1rem, 3vh, 2.5rem);
}

/* Triptych arch fan */
.hero__arches {
  position: relative;
  width: clamp(230px, 27vw, 380px);
  aspect-ratio: 3 / 4.15;
  transform-style: preserve-3d;
}
.hero__arch {
  position: absolute;
  inset: 0;
  border-radius: var(--arch-radius);
  overflow: hidden;
  will-change: transform;
}
.hero__arch img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__arch--c {
  z-index: 2;
  outline: 1px solid rgba(201, 172, 121, 0.5);
  outline-offset: 12px;
  clip-path: inset(100% 0 0 0 round var(--arch-radius));
  animation: archReveal 1.25s var(--ease-soft) 1.15s forwards;
}
@keyframes archReveal { to { clip-path: inset(0 0 0 0 round var(--arch-radius)); } }
.hero__arch--c img {
  transform: scale(1.16);
  animation: archImg 2s var(--ease-soft) 1.15s forwards;
}
@keyframes archImg { to { transform: scale(1); } }

.hero__arch--l, .hero__arch--r {
  z-index: 1;
  opacity: 0;
  outline: 1px solid rgba(168, 155, 199, 0.35);
  outline-offset: 8px;
}
.hero__arch--l {
  transform: translate(-50%, 6%) rotate(0deg) scale(0.7);
  animation: fanL 1.15s var(--ease-soft) 2.0s forwards;
}
.hero__arch--r {
  transform: translate(-50%, 6%) rotate(0deg) scale(0.7);
  animation: fanR 1.15s var(--ease-soft) 2.05s forwards;
}
@keyframes fanL {
  to { opacity: 1; transform: translate(-108%, 4%) rotate(-6deg) scale(0.86); }
}
@keyframes fanR {
  to { opacity: 1; transform: translate(108%, 4%) rotate(6deg) scale(0.86); }
}

/* Headline over the arches */
.hero__title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 9.5vw, 8.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-align: center;
  pointer-events: none;
  z-index: 4;
  text-shadow: 0 2px 30px rgba(20, 15, 35, 0.4), 0 1px 3px rgba(20, 15, 35, 0.3);
}
.hero__word {
  display: block;
  overflow: hidden;
  padding-block: 0.07em;
  white-space: nowrap;
}
.hero__word--villa { transform: translateX(-0.55em); }
.hero__word--fleurs { transform: translateX(0.3em); }
.hl {
  display: inline-block;
  transform: translateY(125%) rotate(9deg);
  transform-origin: bottom left;
  animation: hlUp 0.95s var(--ease-soft) forwards;
  animation-delay: calc(1.45s + var(--i) * 0.05s);
}
@keyframes hlUp { to { transform: translateY(0) rotate(0deg); } }

.hero__de {
  position: relative;
  height: 0.32em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 5;
}
.hero__de em {
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--lavender-soft);
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.25);
  animation: deIn 0.9s var(--ease-out) 2.25s forwards;
}
@keyframes deIn {
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.hero__foot {
  margin-top: clamp(1.6rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 2.7s forwards;
}
.hero__sub {
  max-width: 46ch;
  font-weight: 400;
  font-size: 1.02rem;
  color: rgba(248, 244, 236, 0.9);
}
.hero__sub .ar { color: var(--lavender-soft); }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero__scrollcue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.78);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 3.1s forwards;
}
.hero__scrollcue-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--lavender), transparent);
  animation: cueDrop 1.8s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 700px) {
  .hero__title { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .hero__arches { width: min(58vw, 280px); }
  .hero__word--villa { transform: translateX(-0.18em); }
  .hero__word--fleurs { transform: translateX(0.12em); }
  .hero__arch--l, .hero__arch--r { outline-offset: 5px; }
}

/* ═══════════ MARQUEE ═══════════ */

.marquee {
  background: var(--plum-3);
  color: var(--cream);
  overflow: hidden;
  padding-block: 0.95rem;
}
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__seq { display: flex; align-items: center; flex-shrink: 0; padding-right: 2.4rem; }
.marquee__seq i {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  white-space: nowrap;
}
.marquee__seq i.ar { font-family: var(--font-ar); font-style: normal; font-size: 1.2rem; }
.marquee__seq .mark {
  width: 13px;
  margin-inline: 2.4rem;
  color: var(--lavender);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ═══════════ SECTIONS COMMON ═══════════ */

.section { padding-block: clamp(5rem, 11vh, 8.5rem); }
.section--plum { background: var(--plum); color: var(--cream); }
.section__head { margin-bottom: clamp(2.8rem, 6vh, 4.5rem); }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section__eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section__eyebrow .mark { width: 11px; color: var(--champagne); flex-shrink: 0; }
.section--plum .section__eyebrow { color: var(--champagne); }
.section__eyebrow .ar { font-size: 1rem; letter-spacing: 0; text-transform: none; }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--plum-3);
}
.section--plum .section__title em { color: var(--lavender); }

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════ COLLECTIONS ═══════════ */

.collections__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.ccard { display: block; }
.ccard__arch {
  border-radius: var(--arch-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
  outline: 1px solid rgba(75, 63, 99, 0);
  outline-offset: 8px;
  transition: outline-color 0.5s var(--ease-out);
}
.ccard:hover .ccard__arch { outline-color: rgba(75, 63, 99, 0.45); }
.ccard__arch img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.ccard:hover .ccard__arch img { transform: scale(1.07); }
.ccard__meta { text-align: center; padding-top: 1.3rem; }
.ccard__num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.4rem;
}
.ccard__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
}
.ccard__ar { font-family: var(--font-ar); color: var(--ink-soft); margin-top: 0.2rem; }

@media (max-width: 1000px) {
  .collections__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .collections__grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}

/* ═══════════ SIGNATURES GALLERY ═══════════ */

.gallery__nav { display: flex; gap: 0.7rem; }
.gallery__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(248, 244, 236, 0.3);
  color: var(--cream);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease-out), color 0.35s, border-color 0.35s, opacity 0.3s;
}
.gallery__btn:hover { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.gallery__btn:disabled { opacity: 0.3; pointer-events: none; }

.gallery {
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  width: max-content;
}
.gcard { width: clamp(240px, 26vw, 330px); scroll-snap-align: center; user-select: none; }
.gcard__img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  margin-bottom: 1.1rem;
}
.gcard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}
.gcard:hover .gcard__img img { transform: scale(1.06); }
.gcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.gcard__row h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.gcard__price { font-size: 0.8rem; letter-spacing: 0.14em; color: var(--champagne); }
.gcard__note {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(248, 244, 236, 0.78);
  margin-top: 0.25rem;
}
.signatures__hint {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(248, 244, 236, 0.75);
}
.signatures__hint .ar { color: var(--lavender); }

/* ═══════════ ATELIER ═══════════ */

.atelier__grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.atelier__arch {
  border-radius: var(--arch-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
  outline: 1px solid rgba(201, 172, 121, 0.5);
  outline-offset: 12px;
}
.atelier__arch img { width: 100%; height: 100%; object-fit: cover; }
.atelier__caption {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  color: var(--cream);
  background: rgba(50, 42, 68, 0.6);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.95rem;
}
.atelier__text {
  max-width: 52ch;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 1.4rem;
  font-size: 1.02rem;
}
.atelier__marks { margin-top: 2.4rem; display: grid; gap: 1.1rem; }
.atelier__marks li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.4rem;
  align-items: baseline;
  padding-top: 1.1rem;
  border-top: 1px solid var(--greige-2);
}
.atelier__marks em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--plum-3);
}
.atelier__marks span { font-size: 0.9rem; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 860px) {
  .atelier__grid { grid-template-columns: 1fr; }
  .atelier__arch { max-width: 380px; margin-inline: auto; }
}

/* ═══════════ OCCASIONS ═══════════ */

.occ { border-top: 1px solid rgba(248, 244, 236, 0.14); }
.occ__row { border-bottom: 1px solid rgba(248, 244, 236, 0.14); }
.occ__row a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.7rem 0.5rem;
  transition: padding-left 0.45s var(--ease-out), background 0.45s;
}
.occ__row a:hover { padding-left: 1.6rem; }
.occ__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  transition: color 0.4s var(--ease-out);
}
.occ__row a:hover .occ__name { color: var(--lavender); }
.occ__ar { font-size: 1.15rem; color: rgba(248, 244, 236, 0.75); }
.occ__go {
  font-size: 1.3rem;
  color: var(--champagne);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.occ__row a:hover .occ__go { transform: translateX(0); opacity: 1; }

.occ__preview {
  position: fixed;
  top: 0; left: 0;
  width: 230px;
  height: 300px;
  object-fit: cover;
  border-radius: 999px 999px 12px 12px;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.occ__preview.is-on { opacity: 1; transform: scale(1); }
@media (hover: none), (prefers-reduced-motion: reduce), (max-width: 860px) {
  .occ__preview { display: none; }
}

/* ═══════════ VISIT ═══════════ */

.visit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.branch {
  border: 1px solid var(--greige-2);
  border-radius: 18px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: #fffdf9;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.branch:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -28px rgba(50, 42, 68, 0.4);
}
.branch__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
}
.branch__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
}
.branch__name .ar { font-size: 1.2rem; color: var(--ink-soft); margin-left: 0.5rem; }
.branch__hours { display: grid; gap: 0.7rem; }
.branch__hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--greige-2);
  font-size: 0.9rem;
}
.branch__hours dt { color: var(--ink-soft); font-weight: 400; }
.branch__hours dd { font-weight: 500; }
.branch--contact {
  background: var(--plum-3);
  border-color: var(--plum-3);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.branch--contact .branch__label { color: var(--lavender-soft); }
.branch__note {
  font-weight: 400;
  font-size: 0.92rem;
  color: rgba(248, 244, 236, 0.92);
  margin-bottom: 1.6rem;
  flex: 1;
}
.branch--contact .btn--brand { background: var(--cream); }
.branch--contact .btn--brand:hover { background: var(--lavender); }

@media (max-width: 900px) {
  .visit__grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ═══════════ FOOTER ═══════════ */

.footer {
  background: var(--plum);
  color: var(--cream);
  padding-top: clamp(5rem, 11vh, 8.5rem);
  overflow: hidden;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__tulip { width: 44px; color: var(--lavender); margin-bottom: 1.6rem; }
.footer__ar { font-size: 1.3rem; color: var(--champagne); margin-bottom: 1rem; }
.footer__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 8.5vw, 7rem);
  line-height: 1;
}
.footer__title em { font-style: italic; font-weight: 400; color: var(--lavender); }
.footer__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.6rem;
}
.footer__base {
  width: 100%;
  margin-top: clamp(4rem, 9vh, 7rem);
  padding-block: 2rem;
  border-top: 1px solid rgba(248, 244, 236, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brandline { display: flex; align-items: center; gap: 0.7rem; }
.footer__brandline .mark { width: 16px; color: var(--lavender); }
.footer__brandline span {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.footer__legal, .footer__credit {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(248, 244, 236, 0.75);
}
.footer__legal a, .footer__credit a {
  color: var(--lavender);
  transition: color 0.3s var(--ease-out);
}
.footer__legal a:hover, .footer__credit a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
