/* Qamar Family Gold, revision 2. Night, foil, family. */
:root {
  --night: #07110D;
  --lacquer: #0E2219;
  --souq: #1F4D3A;
  --ivory: #F1EADB;
  --mist: #9FB0A5;
  --gold: #D8B46A;
  --gold-hi: #F5DDA0;
  --gold-lo: #8A6A2C;
  --on-gold: #14100A;
  --display: "Bodoni Moda", Didot, "Times New Roman", serif;
  --text: "Figtree", system-ui, -apple-system, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --sec: clamp(4.5rem, 11vw, 10rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background:
    radial-gradient(ellipse 70% 50% at 78% 12%, rgba(31, 77, 58, .38), transparent 70%),
    var(--night);
  color: var(--ivory);
  font: 400 1.0625rem/1.65 var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 2px; }
.defs { position: absolute; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--on-gold); padding: .75rem 1.1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* Gold gradient text */
.gold-text {
  background: linear-gradient(105deg, var(--gold-lo) 0%, var(--gold) 22%, var(--gold-hi) 42%, #FFF4D8 50%, var(--gold) 62%, var(--gold-lo) 100%);
  background-size: 240% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .05em;
}

/* Atmosphere */
.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .grain { animation: grain .9s steps(3) infinite; }
}
@keyframes grain {
  0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); }
}
main, .foot { position: relative; z-index: 2; }

/* Loader: short, first visit only, never blocks a page without JS */
.loader {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: var(--night);
  animation: loader-failsafe .01s 3s forwards;
}
.loader__inner { display: grid; justify-items: start; gap: .9rem; }
.loader__cord { display: block; width: min(220px, 56vw); height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold)); transform-origin: left; transform: scaleX(0); }
.loader__name { font: italic 400 clamp(3rem, 12vw, 5.5rem)/1 var(--display); color: var(--gold-hi); opacity: 0; }
.loader__sub { font-size: .875rem; color: var(--mist); letter-spacing: .04em; opacity: 0; }
html:not(.js) .loader, html.seen .loader { display: none; }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem var(--pad);
  transition: background .6s var(--ease), border-color .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.bar.is-scrolled { background: rgba(7, 17, 13, .86); border-color: rgba(31, 77, 58, .7); }
.brand {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  font: 500 1.6rem/1 var(--display); color: var(--ivory); text-decoration: none; margin-right: auto;
}
.brand span { font: 500 .8125rem/1 var(--text); color: var(--gold); letter-spacing: .08em; }
.bar__nav { display: flex; gap: .5rem; }
.bar__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem;
  font-size: .9375rem; color: var(--mist); text-decoration: none; transition: color .3s;
}
.bar__nav a:hover { color: var(--gold-hi); }
@media (max-width: 760px) { .bar__nav { display: none; } .brand span { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.7rem; border-radius: 999px;
  font: 600 1rem/1 var(--text); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-position .9s var(--ease), color .3s, border-color .3s, background-color .3s;
}
.btn--gold {
  color: var(--on-gold);
  background: linear-gradient(115deg, #C29A4E 0%, var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, #C29A4E 100%);
  background-size: 220% 100%; background-position: 15% 0;
  box-shadow: inset 0 1px 0 rgba(255, 248, 230, .45);
}
.btn--gold:hover { background-position: 85% 0; }
.btn--line { color: var(--gold-hi); border-color: rgba(216, 180, 106, .45); }
.btn--line:hover { border-color: var(--gold-hi); background-color: rgba(216, 180, 106, .08); }
.btn--small { min-height: 44px; padding: 0 1.2rem; font-size: .9375rem; }
.btn--big { min-height: 60px; padding: 0 2.4rem; font-size: 1.0625rem; }

/* Headings */
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.015em; max-width: 16ch; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - 76px);
  padding: clamp(2rem, 6vw, 4rem) var(--pad) clamp(3rem, 8vw, 6rem);
}
.hero__place { color: var(--gold); font-size: 1rem; letter-spacing: .02em; }
.hero__title {
  font-size: clamp(3.2rem, 9.4vw, 8.5rem); line-height: .94; letter-spacing: -.03em;
  margin: 1.5rem 0 2rem;
}
.line { display: block; overflow: hidden; padding: 0 .04em .08em 0; }
.line > span { display: inline-block; }
.hero__lede { max-width: 34rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--mist); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }
.hero__tag { display: grid; justify-items: center; align-self: start; }
.tagswing { width: min(100%, 340px); transform-origin: 50% 0; will-change: transform; }
.tag { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 3rem; }
  .hero__tag { align-self: auto; }
  .tagswing { width: min(64vw, 250px); }
}

/* Story */
.story {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end;
  padding: var(--sec) var(--pad);
  border-top: 1px solid rgba(31, 77, 58, .7);
}
.story__copy p { max-width: 36rem; margin-top: 1.5rem; color: var(--mist); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.story__copy p:first-of-type { margin-top: 2.5rem; color: var(--ivory); }
.story__photo {
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 2rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(216, 180, 106, .16), transparent 65%),
    var(--lacquer);
  border: 1px solid var(--souq);
}
.story__photo p { color: var(--mist); font-size: .9375rem; text-align: center; max-width: 18rem; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__photo { aspect-ratio: 4 / 3; }
}

/* Occasions */
.occasions { padding: var(--sec) var(--pad); }
.occ-list { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--souq); }
.occ {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--souq);
}
.occ__art { width: 150px; height: auto; }
.occ__body p { max-width: 34rem; margin-top: .75rem; color: var(--mist); }
.occ__price { display: grid; justify-items: end; text-align: right; }
.occ__from { font-size: .9375rem; color: var(--mist); }
.occ__price .gold-text { font: 400 clamp(2rem, 3.6vw, 3.2rem)/1.1 var(--display); }
.occ__note { font-size: .8125rem; color: var(--mist); }
@media (max-width: 860px) {
  .occ { grid-template-columns: 1fr; gap: 1.25rem; }
  .occ__art { width: 120px; }
  .occ__price { justify-items: start; text-align: left; }
}

/* What the tag tells you */
.tagread { padding: var(--sec) var(--pad); background: linear-gradient(180deg, transparent, rgba(14, 34, 25, .75) 30%, rgba(14, 34, 25, .75) 70%, transparent); }
.tagread__head p { max-width: 36rem; margin-top: 1.5rem; color: var(--mist); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.tagread__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); }
.tagread__list > div { border-top: 1px solid var(--gold-lo); padding-top: 1.5rem; }
.tagread__list dt { font: italic 400 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--display); color: var(--gold-hi); }
.tagread__list dd { margin-top: 1rem; color: var(--mist); }
.tagread__sum {
  margin-top: clamp(3rem, 6vw, 5rem); padding: 1.5rem 1.75rem; max-width: 46rem;
  font: 400 clamp(1.2rem, 2vw, 1.6rem)/1.4 var(--display);
  border: 1px solid var(--gold-lo); border-radius: 2px;
  background: rgba(7, 17, 13, .6);
}
@media (max-width: 860px) { .tagread__list { grid-template-columns: 1fr; } }

/* How a visit goes: a real sequence, so it is numbered */
.flow { padding: var(--sec) var(--pad); }
.flow__list { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); }
.flow__list li { counter-increment: step; }
.flow__list li::before {
  content: counter(step); display: block; margin-bottom: 1.25rem;
  font: italic 400 3.5rem/1 var(--display); color: var(--gold);
}
.flow__list h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.flow__list p { margin-top: .75rem; color: var(--mist); }
@media (max-width: 1000px) { .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .flow__list { grid-template-columns: 1fr; } }

/* WhatsApp band */
.wa { padding: 0 var(--pad); }
.wa__inner {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(216, 180, 106, .14), transparent 70%),
    var(--lacquer);
  border: 1px solid var(--souq);
  border-radius: 2px;
}
.wa h2 { max-width: none; }
.wa__lede { max-width: 34rem; margin-top: 1.5rem; color: var(--mist); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.wa__chips { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.5rem 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--souq); background: rgba(7, 17, 13, .55); color: var(--ivory); text-decoration: none;
  transition: border-color .3s, color .3s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-hi); }
.wa__note { margin-top: 1.25rem; font-size: .875rem; color: var(--mist); }

/* Visit */
.visit { padding: var(--sec) var(--pad); }
.visit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.visit h3 { color: var(--gold-hi); margin-bottom: 1rem; }
.visit__grid p { color: var(--ivory); }
.fine { margin-top: .75rem; font-size: .875rem; color: var(--mist) !important; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--souq); }
.hours dt { color: var(--mist); }
.visit__cta { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }

/* Footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  padding: 2rem var(--pad) 2.5rem; border-top: 1px solid var(--souq);
  font-size: .9375rem; color: var(--mist);
}
.foot nav { display: flex; gap: .5rem; }
.foot nav a, .foot p a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; color: var(--ivory); }
.foot nav a:first-child { padding-left: 0; }

/* Inner pages */
.page { padding: clamp(3rem, 8vw, 6rem) var(--pad) var(--sec); max-width: 52rem; }
.page h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.02em; }
.page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 3rem; max-width: none; }
.page p { margin-top: 1rem; color: var(--mist); max-width: 40rem; }
.page .lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ivory); margin-top: 1.5rem; }
.page__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 95;
  width: max-content; max-width: calc(100vw - 2rem);
  padding: .9rem 1.25rem; border-radius: 2px;
  background: var(--lacquer); color: var(--ivory); border: 1px solid var(--gold-lo);
  font-size: .9375rem;
  transform: translate(-50%, 160%); transition: transform .6s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }

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

/* Desktop refinements (wider than 860px): a three-line headline that leaves the WhatsApp
   buttons above the fold, a larger gold tag, and tighter space between sections. */
@media (min-width: 861px) {
  :root { --sec: clamp(4.5rem, 8vw, 7.5rem); }
  .hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .hero__title { font-size: clamp(3.6rem, 6.2vw, 6.6rem); line-height: .98; margin: 1.25rem 0 1.75rem; }
  .hero__tag { align-self: center; }
  .tagswing { width: min(100%, 420px); }
}
