:root {
  --black: #000000;
  --lift: #0d0b08;
  --gold: #d4a95a;
  --gold-light: #f0d49a;
  --gold-deep: #9a7230;
  --ivory: #efe7d8;
  --muted: #a69d8e;
  --line: rgba(212, 169, 90, 0.22);
  --line-soft: rgba(239, 231, 216, 0.1);
  --metal: linear-gradient(115deg, #9a7230 0%, #f0d49a 38%, #d4a95a 62%, #8c6528 100%);

  --f-display: "Amiri", "Cormorant Garamond", serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

:lang(en) {
  --f-display: "Cormorant Garamond", "Amiri", serif;
  --f-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
}
:lang(en) body, body:lang(en) { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 500;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.25;
  margin: 0;
  color: var(--ivory);
  text-wrap: balance;
}
:lang(en) .h2 { line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); max-width: 52ch; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--metal); background-size: 160% 100%; background-position: 0 0; color: var(--black); transition: background-position 0.6s var(--ease), transform 0.25s var(--ease); }
.btn-gold:hover { background-position: 100% 0; }
.btn-line { border-color: var(--line); color: var(--gold-light); }
.btn-line:hover { border-color: var(--gold); background: rgba(212, 169, 90, 0.08); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }
.text-link { color: var(--gold-light); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-ar { font-family: "Amiri", serif; font-size: 1.3rem; color: var(--gold-light); }
.brand-en { font-family: "Cormorant Garamond", serif; font-size: 0.82rem; letter-spacing: 0.22em; color: var(--muted); }
.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a { font-size: 0.95rem; color: var(--muted); position: relative; padding-block: 6px; transition: color 0.2s; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: var(--origin, right); transition: transform 0.35s var(--ease);
}
:lang(en) .nav a::after { --origin: left; }
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  height: 42px; min-width: 52px; padding: 0 12px; cursor: pointer; color: var(--gold-light);
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif; font-size: 0.9rem;
}
.lang:hover { border-color: var(--gold); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: 120px 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.1rem);
  line-height: 1.22;
  margin: 0 0 24px;
  background: linear-gradient(180deg, var(--ivory) 30%, #cbbd9f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
:lang(en) .hero-title { line-height: 1.04; font-weight: 500; letter-spacing: -0.015em; }
.hero-lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); max-width: 50ch; margin: 0 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 1px solid var(--line-soft); padding-top: 24px; }
.facts > div { padding-inline-end: 28px; margin-inline-end: 28px; border-inline-end: 1px solid var(--line-soft); }
.facts > div:last-child { border: 0; margin: 0; padding: 0; }
.facts dt { font-size: 0.85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; color: var(--gold-light); font-size: 1.05rem; font-weight: 400; }

.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.oval-glow {
  position: absolute; inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 169, 90, 0.18), rgba(212, 169, 90, 0) 70%);
  filter: blur(30px);
}
.hero-logo { position: relative; width: 100%; height: 100%; }
.logo-line { fill: none; stroke: var(--gold-light); stroke-width: 1.4; stroke-linejoin: round; }
.logo-fill { opacity: 1; }
.js-anim .logo-fill { opacity: 0; }
.js-anim .logo-line { opacity: 1; }
.logo-line { opacity: 0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-body p { margin: 0 0 1.1em; max-width: 60ch; color: #d8cfbf; }
.values { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.values li { border-top: 1px solid var(--line); padding-top: 16px; }
.values strong { display: block; font-weight: 500; color: var(--gold-light); margin-bottom: 4px; }
.values span { color: var(--muted); font-size: 0.97rem; }

/* Categories */
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat {
  display: grid; grid-template-columns: minmax(200px, 0.9fr) 1.3fr 1fr; gap: 16px 40px; align-items: baseline;
  padding-block: 32px; border-bottom: 1px solid var(--line);
  position: relative;
}
.cat::before {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--metal); transform: scaleX(0); transform-origin: var(--origin, right);
  transition: transform 0.6s var(--ease);
}
:lang(en) .cat::before { --origin: left; }
.cat:hover::before { transform: scaleX(1); }
.cat h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); margin: 0; line-height: 1.2; transition: color 0.3s; }
.cat:hover h3 { color: var(--gold-light); }
.cat p { margin: 0; color: #d8cfbf; max-width: 46ch; }
.cat-brands { font-family: "Cormorant Garamond", serif; font-size: 1.1rem; color: var(--muted); font-style: italic; text-align: end; }

/* Services */
.services { background: var(--lift); }
.services-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.svc-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.svc-list dt { font-weight: 500; color: var(--ivory); font-size: 1.1rem; margin-bottom: 6px; }
.svc-list dt::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-inline-end: 12px; vertical-align: middle; transform: translateY(-2px); }
.svc-list dd { margin: 0; color: var(--muted); padding-inline-start: 19px; }

/* Brands */
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 10px clamp(20px, 3vw, 44px);
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  color: #cfc4b0;
}
.disclaimer { margin: 56px auto 0; max-width: 70ch; text-align: center; font-size: 0.85rem; color: #7d7568; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.thread { position: absolute; top: 4px; inset-inline: 28px; width: calc(100% - 56px); height: 40px; overflow: visible; pointer-events: none; }
.thread path { fill: none; stroke: url(#gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
:lang(ar) .thread { transform: scaleX(-1); }
.steps li { position: relative; padding-top: 72px; }
.step-n {
  position: absolute; top: 0; inset-inline-start: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); border: 1px solid var(--gold);
  font-family: "IBM Plex Sans", sans-serif; font-weight: 300; font-size: 1.1rem; color: var(--gold-light);
}
.steps h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 8px; line-height: 1.3; }
.steps p { margin: 0; color: var(--muted); max-width: 30ch; }

/* Inquiry */
.inquiry { background: var(--lift); }
.inquiry-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.inquiry-intro p { color: var(--muted); max-width: 44ch; margin: 20px 0 36px; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-lines li { display: grid; gap: 2px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.contact-lines li > span:first-child { font-size: 0.85rem; color: var(--muted); }
.contact-lines a, .contact-lines li > span:last-child { color: var(--gold-light); font-size: 1.1rem; }
.contact-lines a { justify-self: start; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 40px); background: var(--black); }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.92rem; color: var(--muted); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(239, 231, 216, 0.22);
  padding: 10px 2px; font-size: 1rem; border-radius: 0; transition: border-color 0.2s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d4a95a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat left 4px center; padding-inline-end: 24px; }
:lang(en) .field select { background-position: right 4px center; }
.field select option { background: #111; color: var(--ivory); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 2px 0 0 var(--gold); }
.field ::placeholder { color: #6d665b; }
.err { display: none; margin: 0; font-size: 0.85rem; color: #e8a08a; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #e8a08a; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 8px 18px; border: 1px solid rgba(239, 231, 216, 0.2); border-radius: 999px; font-size: 0.95rem; color: #d8cfbf; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chips input:checked + span { background: rgba(212, 169, 90, 0.14); border-color: var(--gold); color: var(--gold-light); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 8px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.15rem; font-weight: 400;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 14px; height: 14px;
  background: linear-gradient(var(--gold), var(--gold)) center/100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center/1.5px 100% no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--gold-light); }
.faq-list details p { margin: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.visit-addr { color: var(--muted); font-size: 1.1rem; margin: 16px 0 32px; }
.map-frame {
  aspect-ratio: 4 / 3; border-radius: 50% / 46%; overflow: hidden;
  border: 1px solid var(--gold); box-shadow: 0 0 0 10px var(--black), 0 0 0 11px var(--line);
  background: var(--lift);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mark { width: 64px; height: 64px; flex-shrink: 0; }
.footer-name { font-family: "Amiri", serif; font-size: 1.35rem; margin: 0; color: var(--gold-light); }
.footer-name span { font-family: "Cormorant Garamond", serif; letter-spacing: 0.18em; font-size: 0.9rem; color: var(--muted); margin-inline-start: 8px; }
.footer-tag { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; justify-items: end; }
.footer-links a { color: #d8cfbf; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 0.85rem; color: #7d7568; }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--metal); color: var(--black);
  box-shadow: 0 10px 30px rgba(212, 169, 90, 0.25);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.9rem; }
}

@media (max-width: 960px) {
  .menu-btn {
    display: inline-grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .menu-btn span { width: 18px; height: 1.5px; background: var(--gold-light); transition: transform 0.3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 80px 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: rgba(0, 0, 0, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.1rem; padding-block: 14px; border-bottom: 1px solid var(--line-soft); color: var(--ivory); }
  .nav a::after { display: none; }
  .site-header.menu-open { background: rgba(0, 0, 0, 0.96); }

  .hero { min-height: auto; padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 300px; margin-bottom: -8px; }
  .about-grid, .services-grid, .inquiry-grid, .faq-grid, .visit-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr; gap: 8px; padding-block: 26px; }
  .cat-brands { text-align: start; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .thread { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
}

@media (max-width: 600px) {
  .header-actions .btn-sm { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-ar { font-size: 1.15rem; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .facts > div { border: 0; padding: 0; margin: 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; }
  .facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .facts dd { margin: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .values, .svc-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; border-radius: 20px; }
  .form-actions .btn { width: 100%; }
  .map-frame { border-radius: 24px; box-shadow: none; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; inset-inline-start: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Brand grid ---------- */
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.brand-tile {
  width: 100%; min-height: 150px; padding: 22px 18px 18px;
  display: grid; grid-template-rows: 1fr auto; gap: 14px; justify-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(212,169,90,0.05), rgba(212,169,90,0) 70%);
  border: 1px solid var(--line-soft); border-radius: 20px; cursor: pointer; color: var(--ivory);
  transition: border-color 0.3s, transform 0.35s var(--ease), background-color 0.3s;
}
.brand-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.brand-tile:active { transform: scale(0.98); }
.brand-word { align-self: center; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(1.45rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.1; transition: color 0.3s; }
.brand-word.long { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); }
.brand-tile:hover .brand-word { color: var(--gold-light); }
.brand-meta { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.brand-meta b { font-weight: 400; color: var(--gold); }

/* ---------- Brand dialog ---------- */
.brand-dialog {
  width: min(1180px, 100% - 32px); max-height: min(92vh, 100% - 32px); max-height: min(92dvh, 100% - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 28px;
  background: #050403; color: var(--ivory); overflow: hidden;
}
.brand-dialog::backdrop { background: rgba(0,0,0,0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg-inner { display: flex; flex-direction: column; max-height: inherit; }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px clamp(20px, 3vw, 36px) 20px; border-bottom: 1px solid var(--line-soft); }
.dlg-title { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.05; color: var(--gold-light); text-align: start; }
.dlg-tag { margin: 6px 0 0; color: var(--muted); }
.dlg-nav { display: flex; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; transition: border-color 0.2s, background-color 0.2s; }
.icon-btn:hover { border-color: var(--gold); background: rgba(212,169,90,0.08); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:lang(en) #dlgPrev svg, :lang(en) #dlgNext svg { transform: scaleX(-1); }
.prod-grid { list-style: none; margin: 0; padding: 24px clamp(20px, 3vw, 36px); overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; overscroll-behavior: contain; grid-auto-rows: max-content; align-content: start; flex: 1 1 auto; min-height: 0; }
.prod { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden; background: var(--black); }
.prod-fig { margin: 0; aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 55%, rgba(212,169,90,0.16), rgba(212,169,90,0) 70%), #070604; position: relative; }
.prod-fig svg { width: 46%; height: auto; overflow: visible; }
.prod-fig svg * { fill: rgba(212,169,90,0.06); stroke: url(#gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.prod-fig svg .acc { fill: rgba(212,169,90,0.28); }
.prod-fig img { width: 100%; height: 100%; object-fit: contain; padding: 12%; background: #fff; }
.prod-rank { position: absolute; top: 12px; inset-inline-start: 12px; font-family: "IBM Plex Sans", sans-serif; font-size: 0.8rem; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.prod-body { padding: 16px 16px 4px; }
.prod-name { margin: 0 0 6px; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--ivory); text-align: start; }
.prod-desc { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.prod-cta { margin: 12px 16px 16px; justify-self: start; font-size: 0.92rem; color: var(--gold-light); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.prod-cta:hover { border-color: var(--gold); }
.dlg-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 18px clamp(20px, 3vw, 36px); border-top: 1px solid var(--line-soft); }
.dlg-foot p { margin: 0; font-size: 0.88rem; color: #7d7568; }
body.dlg-open { overflow: hidden; }

/* ---------- Static map ---------- */
.map-frame { display: block; position: relative; isolation: isolate; }
.map-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.map-frame:hover img { transform: scale(1.04); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: #000; border: 1px solid var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(212,169,90,0.12), 0 0 40px rgba(212,169,90,0.35); }
.map-pin svg { width: 46px; height: 46px; }
.map-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.2); opacity: 0; } }
.map-label { position: absolute; left: 50%; top: calc(50% + 50px); transform: translateX(-50%); white-space: nowrap; background: rgba(0,0,0,0.85); color: var(--gold-light); border: 1px solid var(--line); padding: 4px 14px; border-radius: 999px; font-size: 0.9rem; }
.map-credit { position: absolute; bottom: 9%; left: 50%; transform: translateX(-50%); font-size: 0.68rem; color: rgba(239,231,216,0.55); white-space: nowrap; }

@media (max-width: 600px) {
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-tile { min-height: 120px; padding: 18px 12px 14px; border-radius: 16px; }
  .brand-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: 0; margin: 0; }
  .dlg-head { padding-top: 20px; }
  .dlg-nav .icon-btn { width: 40px; height: 40px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; }
  .prod-body { padding: 12px 12px 2px; }
  .prod-name { font-size: 1.05rem; }
  .prod-desc { font-size: 0.85rem; }
  .prod-cta { margin: 10px 12px 14px; font-size: 0.85rem; }
  .dlg-foot .btn { width: 100%; }
  .map-credit { bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .map-pin::after { animation: none; } }

.brand-visual { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 60% at 50% 55%, rgba(212,169,90,0.14), rgba(212,169,90,0) 70%), #070604; }
.brand-visual.has-photo { background: #fff; }
.brand-visual img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 0.6s var(--ease); }
.brand-visual svg { width: 30%; height: auto; overflow: visible; }
.brand-visual svg * { fill: rgba(212,169,90,0.06); stroke: url(#gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.brand-visual svg .acc { fill: rgba(212,169,90,0.28); }
.brand-tile:hover .brand-visual img { transform: scale(1.05); }
.brand-tile .brand-logo { max-height: 40px; max-width: 70%; object-fit: contain; align-self: center; }
.dlg-notes p + p { margin-top: 4px; }
.brand-visual, .prod-fig { position: relative; }
.brand-visual img, .prod-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand-tile:has(.brand-visual) { grid-template-rows: auto 1fr auto; padding-top: 14px; }

/* ---------- Product photography (transparent cut-outs) ---------- */
.brand-visual.has-photo, .prod-fig {
  background:
    radial-gradient(48% 12% at 50% 90%, rgba(0,0,0,0.65), rgba(0,0,0,0) 70%),
    radial-gradient(70% 65% at 50% 48%, rgba(212,169,90,0.20), rgba(212,169,90,0.04) 55%, rgba(212,169,90,0) 75%),
    #090705;
  perspective: 700px;
}
.brand-visual img, .prod-fig img {
  padding: 9% 9% 11%; background: none;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.55)) drop-shadow(0 0 22px rgba(212,169,90,0.10));
  transform-style: preserve-3d; will-change: transform;
  transition: filter 0.4s;
}
.brand-tile:hover .brand-visual img { transform: translateY(-6px) scale(1.04); }
.prod:hover .prod-fig img, .brand-tile:hover .brand-visual img { filter: drop-shadow(0 22px 22px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(212,169,90,0.28)); }
.brand-visual { aspect-ratio: 1; border-radius: 14px; }
.prod { transition: border-color 0.3s; }
.prod:hover { border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .brand-tile:hover .brand-visual img { transform: none; } }

/* ---------- Final polish ---------- */
.svg-defs { position: absolute; }
a, button, summary, label, .brand-tile { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.field select { background-color: #000; color: var(--ivory); }
.wa-float { bottom: calc(22px + env(safe-area-inset-bottom)); }
@media (max-width: 600px) { .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); } }
.prod-name, .cat-brands { overflow-wrap: anywhere; }
.steps .step-n { font-variant-numeric: tabular-nums; }

/* Scroll progress: a thin gold line that fills as you read. */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: var(--metal); transform: scaleX(0); transform-origin: right; pointer-events: none; }
:lang(en) .scroll-progress { transform-origin: left; }

/* Header steps aside while reading down, returns on the way up. */
.site-header { transition: background-color 0.35s, border-color 0.35s, transform 0.45s var(--ease); }
.site-header.tucked { transform: translateY(-100%); }

/* Brand switching inside the dialog slides in the direction you moved. */
.prod-grid.swap-next, .prod-grid.swap-prev { animation-duration: 0.45s; animation-timing-function: var(--ease); animation-fill-mode: both; }
.prod-grid.swap-next { animation-name: swapNext; }
.prod-grid.swap-prev { animation-name: swapPrev; }
@keyframes swapNext { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes swapPrev { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
:lang(en) .prod-grid.swap-next { animation-name: swapPrev; }
:lang(en) .prod-grid.swap-prev { animation-name: swapNext; }
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .site-header.tucked { transform: none; }
  .prod-grid.swap-next, .prod-grid.swap-prev { animation: none; }
}
.site-header:focus-within { transform: none; }
