/* Sharif Adornment — minimal, editorial, light. */

:root {
  --bg: #f6f3ee;          /* warm ivory */
  --surface: #ece7df;     /* a shade deeper, for bands and image wells */
  --ink: #1b1917;
  --muted: #6e6860;
  --line: rgba(27, 25, 23, 0.14);
  --gold: #8a6a3b;        /* antique gold: headings' italic words, ornaments */
  --gold-text: #7d5f33;   /* deeper gold for small text, keeps AA contrast on ivory */
  --gold-light: #d4b47a;  /* gold on the dark band */
  --glass: rgba(246, 243, 238, 0.88);   /* sticky nav and phone dock */
  --band: #1b1917;        /* the dark "occasion" band */
  --band-ink: #f6f3ee;
  --placeholder: #a39c92;
  --media: #1d1b1a;       /* behind the hero video */
  color-scheme: light;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(88px, 13vw, 176px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Night mode ---------- */
:root[data-theme="dark"] {
  --bg: #151413;
  --surface: #201e1c;
  --ink: #efe9df;
  --muted: #a69e93;
  --line: rgba(239, 233, 223, 0.14);
  --gold: #c9a568;
  --gold-text: #c9a568;
  --gold-light: #d4b47a;
  --glass: rgba(21, 20, 19, 0.86);
  --band: #0d0c0b;
  --band-ink: #efe9df;
  --placeholder: #77706a;
  --media: #0d0c0b;
  color-scheme: dark;
}
:root[data-theme="dark"] img { filter: brightness(0.94); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; }
h1 em, h2 em, .footer__mark em { color: var(--gold); }
p { margin: 0; }

.label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.4rem;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 30px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn--light { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.btn--light:hover { background: var(--gold-light); border-color: var(--gold-light); color: #1b1917; }
.btn--block { width: 100%; }

.link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  white-space: nowrap;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link:hover { color: var(--gold-text); }
.link:hover::after { transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  padding-top: max(22px, env(safe-area-inset-top));
  transition: background 0.4s, border-color 0.4s, padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* The frosted glass sits on a layer behind the bar. A backdrop-filter on .nav itself
   would trap the full-screen phone menu (position: fixed) inside the bar. */
.nav::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled {
  border-bottom-color: var(--line);
  padding-block: 14px;
}
.nav__brand { position: relative; z-index: 2; font-family: var(--serif); font-size: 2.05rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 1100px) { .nav__brand { font-size: clamp(1.5rem, 0.6rem + 4.2vw, 1.95rem); } }
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .nav__tools .icon-btn, .nav__tools .theme-toggle { width: 34px; }
  .nav__toggle { padding-left: 8px; }
}
@media (max-width: 345px) { .nav__brand { font-size: 1.3rem; } }

/* "Adornment" in glittering gold: a slow sheen plus fine sparkles, clipped to the letters */
.glitter {
  --g1: #6f5120; --g2: #b0832c; --g3: #e9c877; --g4: #9a7128; --sparkle: rgba(255, 246, 214, 0.95);
  background-image:
    radial-gradient(circle at 30% 40%, var(--sparkle) 0 0.6px, transparent 1.3px),
    radial-gradient(circle at 75% 70%, var(--sparkle) 0 0.5px, transparent 1.2px),
    linear-gradient(105deg, var(--g1) 0%, var(--g2) 18%, var(--g3) 32%, var(--g4) 46%, var(--g2) 60%, var(--g3) 76%, var(--g1) 100%);
  background-size: 7px 7px, 11px 11px, 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: glitter 7s linear infinite;
}
.footer__mark em.glitter { color: transparent; }
.footer__about { min-width: 0; }
@keyframes glitter {
  from { background-position: 0 0, 0 0, 100% 0; }
  to { background-position: 14px 7px, -11px 22px, -160% 0; }
}
:root[data-theme="dark"] .glitter { --g1: #a9802f; --g2: #d8ad55; --g3: #fbe6a6; --g4: #c39540; --sparkle: #fff8e1; }
@media (prefers-reduced-motion: reduce) { .glitter { animation: none; } }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.3s; }
.nav__links a:hover { color: var(--gold-text); }
.nav__cta { border: 1px solid var(--gold); padding: 10px 16px; margin-left: 6px; }
.nav__cta:hover { background: var(--gold); color: var(--bg) !important; }
.nav__tools { display: flex; align-items: center; gap: 2px; position: relative; z-index: 2; }
.icon-btn, .theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  position: relative;
  background: none; border: 0; padding: 0;
  color: inherit; cursor: pointer;
  border-radius: 50%;
  transition: color 0.3s;
}
.icon-btn:hover { color: var(--gold-text); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.saved-toggle .count {
  position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--gold); color: var(--bg); font: 500 0.62rem/1 var(--sans);
}
.theme-toggle .i-sun, :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.nav__links a[aria-current="page"] { color: var(--gold-text); }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  min-height: 44px;
  padding: 0 0 0 16px;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
}

@media (min-width: 1101px) {
  .nav { display: grid; grid-template-columns: 1fr auto auto; }
  .nav__links { margin-right: 12px; }
}
@media (max-width: 1100px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav__links a { font: 400 2.4rem/1 var(--serif); letter-spacing: 0; text-transform: none; padding: 6px 12px; }
  .nav__links { gap: 20px; }
  .nav__cta { margin: 12px 0 0; padding: 14px 24px; font: 500 0.8rem/1 var(--sans) !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100svh;
  padding: 120px var(--gutter) 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero__title { font-size: clamp(3rem, 4.9vw, 4.9rem); line-height: 0.98; letter-spacing: -0.02em; }
.hero__lede { max-width: 30rem; margin-top: 1.8rem; color: var(--muted); font-size: 1.05rem; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 2.6rem; }
.hero__media {
  margin: 0;
  aspect-ratio: 5 / 4;
  background: var(--media);   /* matches the video's dark backdrop, so nothing flashes while it loads */
  overflow: hidden;
  position: relative;
}
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media.is-playing video { opacity: 1; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 72px; padding-bottom: 0; gap: 32px; }
  .hero__media { order: -1; margin-inline: calc(var(--gutter) * -1); }
  .hero__lede { font-size: 1rem; margin-top: 1.2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 2rem; }
  .hero__actions .link { align-self: center; }
  .hero + .motif { margin-top: 56px; }
}

/* ---------- Ornament: a small gold lotus between two hairlines ---------- */
.motif {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: var(--gold);
}
.motif::before, .motif::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.35; }
.motif svg { width: 44px; height: 24px; flex: none; }
.motif--short { max-width: 220px; padding: 0; margin-bottom: 2rem; color: var(--gold-light); }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 44rem; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 64px) clamp(16px, 2.4vw, 32px); }
.piece { display: block; }
.piece__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.piece__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.piece:hover .piece__img img { transform: scale(1.04); }
.piece__meta { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.piece__meta span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; color: var(--gold-text); }
.piece:hover h3 { color: var(--gold-text); }
.piece h3 { transition: color 0.4s; }
.piece p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; max-width: 26rem; }

@media (max-width: 960px) { .collections { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .collections { gap: 40px 12px; }
  .piece h3 { font-size: 1.3rem; }
  .piece p { display: none; }
  .piece__meta { gap: 10px; margin-top: 14px; padding-top: 12px; }
}

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 8vw, 128px); align-items: center; }
.story__img { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__copy h2 { margin-bottom: 2rem; }
.story__copy > p:not(.label) { color: var(--muted); max-width: 34rem; }
.story__copy > p + p { margin-top: 1.1rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 3rem 0 0; max-width: 34rem; }
.pillars div { border-top: 1px solid var(--line); padding-top: 16px; }
.pillars dt { font-family: var(--serif); font-size: 1.4rem; }
.pillars dd { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.steps span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; color: var(--gold-text); }
.steps h3 { margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; row-gap: 36px; } }

/* ---------- Occasion band ---------- */
.occasion { margin-top: var(--section); background: var(--band); color: var(--band-ink); padding: clamp(88px, 12vw, 160px) var(--gutter); text-align: center; }
.occasion__inner { max-width: 52rem; margin: 0 auto; }
.occasion .label { color: var(--gold-light); }
.occasion h2 em { color: var(--gold-light); }
.occasion h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.occasion p:not(.label) { margin: 1.8rem auto 2.6rem; max-width: 32rem; color: var(--band-ink); opacity: 0.72; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); position: relative; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* Phones: a swipeable row instead of a long grid, with the next photo peeking in */
@media (max-width: 860px) {
  .gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 74%; scroll-snap-align: start; }
  .gallery figure.reveal { opacity: 1; transform: none; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.contact__copy h2, .contact__copy h1 { margin-bottom: 1.4rem; }
.contact__copy > p:not(.label) { color: var(--muted); max-width: 28rem; }
.channels { margin: 2.6rem 0 0; }
.channels div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.channels div:last-child { border-bottom: 1px solid var(--line); }
.channels dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.channels dd { margin: 0; overflow-wrap: anywhere; }
.channels a { border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.channels a:hover { border-color: var(--gold); color: var(--gold-text); }

.enquiry { display: grid; gap: 28px; background: var(--surface); padding: clamp(28px, 4vw, 48px); }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 10px;
  font: 400 1rem/1.5 var(--sans);
  color: var(--ink);
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select option { background: var(--bg); color: var(--ink); }
.field select {
  cursor: pointer;
  padding-right: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238a6a3b' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.field textarea { resize: vertical; min-height: 104px; }
.field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #a33a2c; }
.enquiry__note { min-height: 1.4em; font-size: 0.9rem; color: var(--muted); margin-top: -8px; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .channels div { grid-template-columns: 7.5rem 1fr; }
  .enquiry { margin-inline: calc(var(--gutter) * -1); }
}

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: var(--section) auto 0; padding: 0 var(--gutter) 32px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 64px; align-items: end; border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 64px); }
.footer__mark { font-family: var(--serif); font-size: clamp(2.3rem, 9.4vw, 8rem); line-height: 0.95; letter-spacing: -0.03em; }
.footer__hours { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.socials { display: flex; gap: 6px; margin: 14px 0 0 -10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); transition: color 0.3s; }
.socials a:hover { color: var(--gold-text); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.newsletter h3 { font-size: 1.8rem; margin-top: -6px; }
.newsletter .label { margin-bottom: 0.9rem; }
.newsletter__text { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.newsletter__row { display: flex; gap: 8px; margin-top: 18px; }
.newsletter__row input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 0;
  font: 400 1rem/1 var(--sans);
}
.newsletter__row input:focus { outline: none; border-color: var(--gold); }
.newsletter__row .btn { min-height: 48px; padding: 0 22px; }
.newsletter__note { min-height: 1.4em; margin-top: 8px; font-size: 0.85rem; color: var(--gold-text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; font-size: 0.82rem; }
.footer__links a:hover { color: var(--gold-text); }
.footer__row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.footer__row span { margin-right: auto; }
.footer__row a:hover { color: var(--ink); }
/* The © is the quiet way into the Studio: it looks like plain text */
.footer__row .footer__c { display: inline-block; padding: 10px 6px; margin: -10px -6px; color: inherit; cursor: default; -webkit-tap-highlight-color: transparent; }
.footer__row .footer__c:hover { color: inherit; }
@media (max-width: 860px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages ---------- */
.section--first { padding-top: clamp(128px, 15vw, 196px); }
.section--tight { padding-top: clamp(56px, 8vw, 96px); }
.page__title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; }
.page__intro { margin-top: 1.4rem; color: var(--muted); max-width: 34rem; }
.story__text p { color: var(--muted); max-width: 34rem; }
.story__text p + p { margin-top: 1.1rem; }
.story__copy h1 { margin-bottom: 2rem; }
.story__more { display: inline-block; margin-top: 2rem; }
.motif--gap { margin-top: var(--section); }
.cta { text-align: center; }
.cta h2 { max-width: 46rem; margin: 0 auto 2.4rem; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.empty { color: var(--muted); grid-column: 1 / -1; padding: 40px 0; }

/* Collection filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.chip {
  min-height: 40px;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 0.74rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 860px) {
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* Piece cards */
.items { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 56px) clamp(12px, 1.8vw, 24px); }
.item { position: relative; }
.item[hidden] { display: none; }
.item__link { display: grid; gap: 4px; }
.item__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); margin-bottom: 12px; }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.item:hover .item__img img { transform: scale(1.04); }
.item.is-sold .item__img img { opacity: 0.55; }
.item__badges, .detail__badges { display: flex; flex-wrap: wrap; gap: 4px; }
.item__badges { position: absolute; left: 10px; top: 10px; right: 52px; }
.badge {
  padding: 6px 9px;
  background: var(--bg); color: var(--ink);
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
}
.badge--gold { background: var(--gold); color: var(--bg); }
.badge--sold { background: var(--ink); color: var(--bg); }
.item__col { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.item__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; transition: color 0.4s; }
.item:hover .item__name { color: var(--gold-text); }
.item__price { font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }
.heart {
  position: absolute; top: 6px; right: 6px; z-index: 1;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent); border: 0; border-radius: 50%;
  color: var(--ink); cursor: pointer; transition: transform 0.3s var(--ease), color 0.3s;
}
.heart:hover { transform: scale(1.08); }
.heart svg, .save-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.heart.is-on, .save-btn.is-on { color: var(--gold); }
.heart.is-on svg, .save-btn.is-on svg { fill: currentColor; }
.save-btn.is-on:hover { color: var(--bg); } /* gold heart on the gold hover background would vanish */
@media (max-width: 960px) { .items { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .items { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; } .item__name { font-size: 1.15rem; } }
@media (max-width: 860px) {
  .items--row {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .items--row::-webkit-scrollbar { display: none; }
  .items--row .item { flex: 0 0 64%; scroll-snap-align: start; }
}

/* Search + filters, kept in reach while scrolling */
.toolbar {
  position: sticky; top: 74px; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin: 0 calc(var(--gutter) * -1) clamp(20px, 3vw, 32px); padding: 12px var(--gutter);
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.toolbar .filters { margin: 0; flex: 1; }
.search { display: flex; align-items: center; gap: 10px; min-width: min(320px, 100%); border-bottom: 1px solid var(--line); }
.search:focus-within { border-bottom-color: var(--gold); }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; color: var(--muted); }
.search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--ink); font: 400 1rem/1 var(--sans); }
.search input:focus { outline: none; }
.results { min-height: 1.2em; margin-bottom: 20px; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) { .toolbar { top: 74px; } .search { flex: 1 1 100%; } }

/* A piece in detail: its own page, or the quick view */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.detail__media { position: relative; min-width: 0; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background 0.3s; }
.dots span.is-on { background: var(--gold); }
.detail__body { padding-top: 8px; }
.detail__name { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.02; }
.detail__price { margin-top: 12px; color: var(--muted); }
.detail__badges { margin-top: 14px; }
.detail__desc { margin-top: 1.4rem; color: var(--muted); max-width: 32rem; }
.detail__facts { margin: 1.4rem 0 0; max-width: 32rem; }
.detail__facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.detail__facts dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.detail__facts dd { margin: 0; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.detail__actions .btn { flex: 1 1 auto; }
.save-btn { gap: 8px; flex: 0 0 auto !important; }
.detail__more { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 1.4rem; }
.detail__more .link { background: none; border: 0; padding: 0 0 4px; color: inherit; cursor: pointer; font-family: var(--sans); }
.pairs { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pairs .label { margin-bottom: 1rem; }
.pairs__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pair { display: grid; gap: 8px; font-size: 0.85rem; line-height: 1.3; }
.pair__price { margin-top: -4px; font-weight: 600; font-size: 0.8rem; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); transition: opacity 0.3s; }
.pair:hover img { opacity: 0.85; }
.pair:hover span { color: var(--gold-text); }
.crumbs { display: flex; gap: 10px; margin-bottom: 24px; font-size: 0.8rem; color: var(--muted); }
.crumbs a:hover { color: var(--gold-text); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .piece-page .detail__media { margin-inline: calc(var(--gutter) * -1); } }

/* Quick view and saved list (dialogs) */
.sheet {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  padding: clamp(20px, 3vw, 40px); border: 0;
  background: var(--bg); color: var(--ink);
  overflow: auto;
}
.sheet::backdrop, .zoom::backdrop { background: rgba(10, 9, 8, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in 0.5s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }
.sheet__close {
  position: sticky; top: 0; z-index: 3; display: block; margin: 0 0 12px auto;
  min-height: 40px; padding: 0 14px;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line);
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.sheet .detail__name { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.saved { width: min(560px, calc(100% - 32px)); }
.saved h2 { font-size: 2.4rem; margin-bottom: 1rem; }
.saved__empty { color: var(--muted); }
.saved__list { display: grid; }
.saved__row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.saved__row img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.saved__row span { display: block; font-size: 0.85rem; color: var(--muted); }
.saved__name { font-family: var(--serif); font-size: 1.25rem; }
.saved__row .link { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--sans); }
.saved__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .sheet {
    width: 100%; max-width: 100%; max-height: 92svh;
    margin: auto 0 0; inset: auto 0 0 0;
    padding: 16px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .sheet .detail__media { margin-inline: calc(var(--gutter) * -1); }
  .detail__actions .btn { flex: 1 1 100%; }
  .save-btn { flex: 1 1 100% !important; }
}

/* Full-screen photo */
.zoom { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 9, 8, 0.94); }
.zoom__stage { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; touch-action: pinch-zoom pan-x pan-y; }
.zoom img { max-width: 100%; max-height: 100svh; object-fit: contain; cursor: zoom-in; transition: transform 0.4s var(--ease); }
.zoom.is-zoomed img { transform: scale(2.2); cursor: zoom-out; }
.zoom .sheet__close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; margin: 0; }

/* Full gallery page: a plain grid on phones too */
@media (max-width: 860px) {
  .gallery.gallery--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .gallery.gallery--grid figure { flex: none; }
}

/* ---------- Announcement banner ---------- */
.banner {
  position: relative; z-index: 51;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 48px; background: var(--ink); color: var(--bg);
  font-size: 0.84rem; text-align: center;
}
.banner em { color: var(--gold-light); }
:root[data-theme="dark"] .banner em { color: #7d5f33; }
.banner a { border-bottom: 1px solid currentColor; margin-left: 6px; }
.banner__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: none; border: 0; color: inherit; font-size: 1.3rem; cursor: pointer; }
body:has(.banner) .nav:not(.is-scrolled) { top: var(--banner-h, 41px); }

/* ---------- Bridal looks ---------- */
.looks { display: grid; gap: clamp(64px, 10vw, 140px); padding-top: clamp(48px, 7vw, 96px); }
.look { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.look--flip .look__img { order: 2; }
.look__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.look__img img { width: 100%; height: 100%; object-fit: cover; }
.look__num { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; color: var(--gold-text); }
.look h2 { margin: 14px 0 1.2rem; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.look p:not(.label) { color: var(--muted); max-width: 30rem; }
.look .label { margin: 2rem 0 1rem; }
@media (max-width: 860px) {
  .look { grid-template-columns: 1fr; }
  .look--flip .look__img { order: 0; }
  .look__img { margin-inline: calc(var(--gutter) * -1); }
}

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.review { margin: 0; display: grid; gap: 16px; align-content: start; }
.review__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.review__img img { width: 100%; height: 100%; object-fit: cover; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.review blockquote::before { content: "“"; color: var(--gold); }
.review blockquote::after { content: "”"; color: var(--gold); }
.review figcaption { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.review figcaption span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 52rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--gold); transition: transform 0.3s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--gold-text); }
.faq__item p { padding: 0 0 24px; color: var(--muted); max-width: 42rem; }
.cta__actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px 32px; }

/* ---------- Facebook posts ---------- */
.feed__frame {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: clamp(28px, 5vw, 56px) 20px; background: var(--surface); color: var(--muted);
}
.feed__frame small { font-size: 0.78rem; }
.feed__frame.is-loaded { padding: 16px 0; background: none; }
.feed__frame iframe { border: 0; max-width: 100%; background: #fff; }
.feed__fallback { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }
.feed__fallback a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Booking ---------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.motif--left { margin: 2rem 0 0; padding: 0; max-width: 220px; }
.motif--left::before { display: none; }
.book__note { margin-top: 1.4rem; color: var(--muted); font-size: 0.9rem; }
.field input[type="date"] { min-height: 44px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Gallery tiles open full screen ---------- */
.gallery .slide__zoom { position: absolute; inset: 0; }

/* ---------- Small helpers ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toast {
  position: fixed; inset: auto auto calc(96px + env(safe-area-inset-bottom)) 50%; z-index: 70;
  margin: 0; border: 0; overflow: visible;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: min(520px, calc(100% - 32px)); padding: 14px 20px;
  background: var(--ink); color: var(--bg); font-size: 0.9rem; text-align: center;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.preview-bar {
  position: sticky; top: 0; z-index: 80; display: flex; justify-content: center; align-items: center; gap: 16px;
  padding: 10px 16px; background: var(--gold); color: #fff; font-size: 0.85rem;
}
.preview-bar button { background: none; border: 1px solid currentColor; color: inherit; padding: 6px 12px; cursor: pointer; font: inherit; }

/* ---------- Phone dock ---------- */
.dock { display: none; }
@media (max-width: 860px) {
  .dock {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.45s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .nav.is-open ~ .dock { transform: translateY(110%); }
  .dock__btn {
    flex: 1;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--bg);
    font: 500 0.78rem/1 var(--sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .dock__btn--alt { flex: 0 0 34%; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .piece__img img, .gallery img { transition: none; }
}

/* Wordmark: SHARIF in capitals, opened up slightly so it sits evenly beside "Adornment" */
.caps { letter-spacing: 0.04em; }
