/* ============================================================
   Amanzada Perfumes — Deira
   Design system + layout. Vanilla CSS.
   Palette + type sourced from research/brand-system.md
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* brand fixed */
  --plum: #7C3556;
  --aubergine: #1E1826;
  --gold: #D6A75C;
  --gold-deep: #b9863c;
  --bronze: #905A24;
  --forest: #243624;

  /* theme: cream (default) */
  --bg: #FBF7F2;
  --bg-2: #F3EADE;
  --surface: #FFFFFF;
  --ink: #211820;
  --ink-soft: #4a3b44;
  --muted: #7B6870;
  --border: #E7D9C4;
  --hairline: rgba(33, 24, 32, 0.10);

  /* themeable accent (tweakable) */
  --accent: var(--gold);
  --accent-ink: #3a2710; /* readable text on accent */

  /* dark-section palette (used regardless of theme) */
  --d-bg: #1A1320;
  --d-bg-2: #221829;
  --d-ink: #F4ECE3;
  --d-muted: #b8a6b1;
  --d-border: rgba(214, 167, 92, 0.22);

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

  /* scale (tweakable headline multiplier) */
  --hscale: 1;

  /* rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(30, 24, 38, 0.06), 0 6px 18px rgba(30, 24, 38, 0.06);
  --shadow-lg: 0 24px 60px -24px rgba(30, 24, 38, 0.30);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="noir"] {
  --bg: #16101C;
  --bg-2: #1E1726;
  --surface: #241B2D;
  --ink: #F4ECE3;
  --ink-soft: #d8c9d2;
  --muted: #b09eaa;
  --border: #3a2f44;
  --hairline: rgba(244, 236, 227, 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
.display {
  font-size: calc(clamp(2.9rem, 7.4vw, 6.2rem) * var(--hscale));
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.012em;
}
.h2 { font-size: calc(clamp(2rem, 4.4vw, 3.4rem) * var(--hscale)); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--ink-soft); font-weight: 400; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted { color: var(--muted); }
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section-head { max-width: 720px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head p { margin: 18px 0 0; }

.section--dark {
  background: var(--d-bg);
  color: var(--d-ink);
}
.section--dark .lede, .section--dark p { color: var(--d-muted); }
.section--dark .eyebrow--muted { color: var(--d-muted); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--bg);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.5em;
  background: var(--b-bg); color: var(--b-fg);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--b-bg); border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--accent { --b-bg: var(--accent); --b-fg: var(--accent-ink); border-color: var(--accent); }
.btn--plum { --b-bg: var(--plum); --b-fg: #fff; border-color: var(--plum); }
.btn--ghost {
  --b-bg: transparent; --b-fg: var(--ink);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost { --b-fg: var(--d-ink); border-color: var(--d-border); }
.section--dark .btn--ghost:hover { border-color: var(--gold); }
.btn svg { width: 1.05em; height: 1.05em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 3px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { gap: 0.85em; color: var(--plum); }
.link-arrow svg { width: 14px; height: 14px; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hairline);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.header.scrolled .brand img { height: 40px; }
.brand__name { display: none; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft);
  position: relative; padding-block: 6px; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header__cta { display: none; align-items: center; gap: 14px; }

.burger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 46px; background: transparent; border: 1px solid var(--hairline);
  border-radius: 100px; padding: 0 12px;
}
.burger span { height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  transform: translateY(-100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; padding: 96px var(--gutter) 40px;
  visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer a.drawer__link {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 600; padding: 14px 0;
  border-bottom: 1px solid var(--hairline); color: var(--ink);
  display: flex; align-items: baseline; justify-content: space-between;
}
.drawer a.drawer__link span { font-family: var(--sans); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer__foot .btn { justify-content: center; }
.drawer__contact { font-size: 0.95rem; color: var(--muted); }
.drawer__contact a { color: var(--ink); font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: 78px; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1fr;
  min-height: calc(100svh - 78px);
}
.hero__text {
  padding: clamp(36px, 7vw, 92px) 0 clamp(40px, 6vw, 60px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--plum); }
.hero__lede { max-width: 30ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__media { position: relative; min-height: 52vh; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 65%, transparent));
}
.hero__cap {
  position: absolute; left: 20px; bottom: 20px; z-index: 3;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(20,15,22,0.42); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 100px;
}

/* trust ribbon */
.trust {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: var(--bg-2);
}
.trust__row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--hairline);
}
.trust__cell {
  background: var(--bg-2); padding: 22px var(--gutter);
  display: flex; flex-direction: column; gap: 3px;
}
.trust__cell .k { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.trust__cell .k .star { color: var(--accent); font-size: 1.2rem; }
.trust__cell .l { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   Signature collection
   ============================================================ */
.collgrid {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 48px;
}
.scent {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex; flex-direction: column;
}
.scent:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.scent__img {
  aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; position: relative;
}
.scent__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.scent:hover .scent__img img { transform: scale(1.05); }
.scent__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(5px);
  color: var(--ink-soft); padding: 6px 11px; border-radius: 100px;
}
.scent__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scent__name { font-size: 1.55rem; }
.scent__meta { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.scent__desc { font-size: 0.95rem; color: var(--muted); line-height: 1.55; margin: 2px 0 0; }
.scent__foot { margin-top: auto; padding-top: 16px; }

/* ============================================================
   Range (categories)
   ============================================================ */
.rangegrid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
.rcard {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.rcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); transform: translateY(-3px); }
.rcard__img { width: 96px; height: 96px; border-radius: 3px; overflow: hidden; background: var(--bg-2); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rcard h3 { font-size: 1.35rem; }
.rcard .size { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.rcard p { font-size: 0.9rem; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }

/* ============================================================
   Atelier (dark feature)
   ============================================================ */
.atelier__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.atelier__copy h2 { color: var(--d-ink); margin-bottom: 22px; }
.atelier__copy h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
.atelier__feats { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 2px; }
.atelier__feats li {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 0;
  border-top: 1px solid var(--d-border); font-size: 0.98rem; color: var(--d-muted);
}
.atelier__feats li:last-child { border-bottom: 1px solid var(--d-border); }
.atelier__feats .n { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); min-width: 28px; }
.atelier__feats strong { color: var(--d-ink); font-weight: 600; display: block; font-size: 1.02rem; margin-bottom: 2px; font-family: var(--sans); }
.atelier__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.atelier__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.atelier__media .tall { grid-row: span 2; aspect-ratio: 3/5; }
.atelier__media .wide { aspect-ratio: 4/3; }
.quote {
  margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--d-border); padding-top: clamp(34px,5vw,56px);
  text-align: center; max-width: 880px; margin-inline: auto;
}
.quote p { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.25; color: var(--d-ink); font-style: italic; }
.quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { columns: 2; column-gap: 14px; margin-top: 44px; }
.gallery figure {
  margin: 0 0 14px; break-inside: avoid; position: relative; overflow: hidden; border-radius: 3px;
  cursor: zoom-in; background: var(--bg-2);
}
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s var(--ease); }
.gallery figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,15,22,0.45));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:hover::after { opacity: 1; }
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(15, 11, 17, 0.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 84vh; object-fit: contain; box-shadow: var(--shadow-lg); border-radius: 3px; }
.lb__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #e9dfd6; font-size: 0.8rem; letter-spacing: 0.1em; }
.lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.lb__btn:hover { background: rgba(255,255,255,0.2); }
.lb__prev { left: 18px; } .lb__next { right: 18px; }
.lb__close { top: 20px; right: 20px; transform: none; width: 48px; height: 48px; }

/* ============================================================
   About
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px,5vw,64px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; }
.about__media .badge {
  position: absolute; bottom: -18px; right: -10px; background: var(--accent); color: var(--accent-ink);
  border-radius: 50%; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-lg); padding: 10px;
}
.about__media .badge .num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.about__media .badge .lab { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.about__copy h2 { margin-bottom: 22px; }
.about__copy p + p { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--hairline); margin-top: 34px; border: 1px solid var(--hairline); }
.stats div { background: var(--bg); padding: 20px; }
.stats .k { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.stats .l { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ============================================================
   Visit / contact
   ============================================================ */
.visit__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px,5vw,56px); }
.info { display: flex; flex-direction: column; gap: 26px; }
.info__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.info__icon svg { width: 20px; height: 20px; }
.info__item h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.info__item p, .info__item a { font-size: 1.08rem; color: var(--ink); line-height: 1.45; }
.info__item a.tel { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.info__socials { display: flex; gap: 10px; margin-top: 4px; }
.info__socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s, border-color .25s; }
.info__socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.info__socials svg { width: 18px; height: 18px; }

.mapbox {
  margin-top: 30px; border: 1px dashed color-mix(in srgb, var(--accent) 60%, var(--border));
  border-radius: 4px; background:
    repeating-linear-gradient(45deg, transparent, transparent 13px, color-mix(in srgb, var(--accent) 8%, transparent) 13px, color-mix(in srgb, var(--accent) 8%, transparent) 14px),
    var(--bg-2);
  min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px;
}
.mapbox .pin { width: 46px; height: 46px; color: var(--plum); }
.mapbox .mt { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.mapbox .ms { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }

/* form */
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: clamp(22px, 4vw, 40px); }
.form h3 { margin-bottom: 6px; }
.form__sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 13px 14px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 0.78rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented label {
  position: relative;
  flex: 1; min-width: 120px; text-align: center; margin: 0; letter-spacing: 0.04em; text-transform: none; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--border); border-radius: 100px; padding: 11px 12px; cursor: pointer; transition: all .2s var(--ease);
}
.segmented input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.segmented input:checked + span { }
.segmented label:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.form__submit { width: 100%; justify-content: center; margin-top: 6px; }
.form__success {
  display: none; text-align: center; padding: 30px 10px;
}
.form__success.show { display: block; }
.form__success .tick { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--plum); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form__success h3 { margin-bottom: 8px; }
.form__success p { color: var(--muted); }
.form__note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--aubergine); color: var(--d-ink); padding-top: clamp(56px, 7vw, 90px); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--d-border); }
.footer__brand img { height: 96px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--d-muted); font-size: 0.95rem; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer h5 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul li { color: var(--d-muted); font-size: 0.95rem; transition: color .2s; }
.footer ul a:hover { color: var(--d-ink); }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; padding: 26px 0 36px; font-size: 0.78rem; color: var(--d-muted); }
.footer__bottom .disc { opacity: 0.7; max-width: 70ch; }

/* ============================================================
   Mobile action bar
   ============================================================ */
.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--hairline);
  box-shadow: 0 -8px 30px -16px rgba(30,24,38,0.4);
  transform: translateY(110%); transition: transform .4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar.show { transform: translateY(0); }
.actionbar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px 12px;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft);
}
.actionbar a + a { border-left: 1px solid var(--hairline); }
.actionbar a svg { width: 21px; height: 21px; color: var(--accent); }
.actionbar a.primary { background: var(--accent); color: var(--accent-ink); }
.actionbar a.primary svg { color: var(--accent-ink); }

/* ============================================================
   Reveal animation
   ============================================================ */
.js .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Tweaks panel (vanilla)
   ============================================================ */
.tweaks {
  position: fixed; right: 18px; bottom: 18px; z-index: 120; width: 300px; max-width: calc(100vw - 36px);
  background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); display: none; overflow: hidden; font-family: var(--sans);
}
.tweaks.show { display: block; }
.tweaks__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--hairline); cursor: grab; }
.tweaks__head h6 { margin: 0; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.tweaks__head button { background: none; border: none; font-size: 1.2rem; line-height: 1; color: var(--muted); padding: 4px; }
.tweaks__body { padding: 8px 16px 18px; max-height: 70vh; overflow-y: auto; }
.tw { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.tw:last-child { border-bottom: none; }
.tw__label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 9px; }
.tw__seg { display: flex; gap: 6px; }
.tw__seg button { flex: 1; padding: 8px 6px; font-size: 0.78rem; font-weight: 600; border: 1px solid var(--border); background: var(--bg); color: var(--ink-soft); border-radius: 7px; }
.tw__seg button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tw__sw { display: flex; gap: 8px; }
.tw__sw button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; position: relative; }
.tw__sw button.on { border-color: var(--ink); transform: scale(1.08); }
.tw__range { width: 100%; accent-color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 720px) {
  .trust__row { grid-template-columns: repeat(4, 1fr); }
  .collgrid { grid-template-columns: repeat(2, 1fr); }
  .rangegrid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 3; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .header__cta { display: flex; }
  .burger { display: none; }
  .brand__name { display: block; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__media { min-height: 100%; }
  .collgrid { grid-template-columns: repeat(3, 1fr); }
  .rangegrid { grid-template-columns: repeat(3, 1fr); }
  .atelier__grid { grid-template-columns: 1fr 1.05fr; }
  .about__grid { grid-template-columns: 0.85fr 1.15fr; }
  .visit__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
  .footer__top { grid-template-columns: 1.3fr 2fr; }
  .actionbar { display: none; }
}
@media (min-width: 1180px) {
  .collgrid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 959px) {
  body.has-bar { padding-bottom: 70px; }
}

