/* ==========================================================================
   NanoAmulet — design system
   White + gold "editorial luxury". Display: Cormorant Garamond · UI: Jost ·
   Arabic: Amiri. All motion uses custom curves and transform/opacity only.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --ivory: #fbf8f2;
  --sand: #f5efe3;
  --sand-2: #ece3d1;
  --ink: #17150f;
  --ink-2: #3a352b;
  --muted: #80786a;
  --muted-2: #a39a89;
  --line: rgba(150, 112, 40, 0.18);
  --line-soft: rgba(23, 21, 15, 0.07);
  --gold: #b0883a;
  --gold-deep: #8a6420;
  --gold-light: #e6cd91;
  --gold-pale: #f6ecd2;
  --gold-grad: linear-gradient(115deg, #8a6420 0%, #c49b4a 20%, #f0d999 40%, #c1974a 58%, #ead08d 76%, #8f6c27 100%);
  --gold-grad-soft: linear-gradient(135deg, #f8f0dc 0%, #efe0b8 45%, #f9f2e0 100%);
  --shadow-1: 0 1px 2px rgba(70, 52, 18, 0.04), 0 8px 24px -12px rgba(70, 52, 18, 0.1);
  --shadow-2: 0 1px 2px rgba(70, 52, 18, 0.04), 0 18px 40px -18px rgba(70, 52, 18, 0.16), 0 50px 100px -50px rgba(70, 52, 18, 0.22);
  --shadow-gold: 0 10px 30px -10px rgba(176, 136, 58, 0.45);
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --font-display: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --font-sans: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-ar: 'Amiri', 'Traditional Arabic', 'Scheherazade New', serif;
  --container: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(96px, 12vw, 190px);
  --nav-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-pale); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* Paper grain — fixed, never scrolls (cheap). */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 980px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--ivory { background: var(--ivory); }
.section--sand { background: linear-gradient(180deg, var(--ivory), var(--sand)); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
.display {
  font-size: clamp(3.1rem, 7.4vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.028em;
  font-weight: 500;
}
.h1 { font-size: clamp(2.8rem, 6vw, 6rem); line-height: 0.94; letter-spacing: -0.025em; }
.h2 { font-size: clamp(2.3rem, 4.6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.02em; }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; }
.h4 { font-size: 1.45rem; line-height: 1.15; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 400; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.6; font-weight: 300; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.75rem; letter-spacing: 0.02em; }
.serif { font-family: var(--font-display); }
.arabic { font-family: var(--font-ar); direction: rtl; unicode-bidi: isolate; }
.gold-text {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.gold-text--shine { animation: shine 8s var(--ease) infinite; }
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.45em 1em 0.45em 0.8em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 0 3px rgba(176, 136, 58, 0.14);
}
.eyebrow--plain { border: 0; background: none; padding: 0; }
.kicker { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--muted); }

.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold); justify-content: center; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons (island pills, button-in-button icon) ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.6s var(--ease-spring), box-shadow 0.6s var(--ease), background-color 0.4s var(--ease);
  isolation: isolate;
}
.btn:active { transform: scale(0.975); }
.btn__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.6s var(--ease-spring), background-color 0.4s var(--ease);
}
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.btn--gold { --btn-bg: transparent; --btn-fg: #2a1f08; box-shadow: var(--shadow-gold); }
.btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gold-grad);
  background-size: 180% 100%;
  z-index: -1;
  transition: background-position 1.2s var(--ease);
}
.btn--gold:hover::before { background-position: 100% 0; }
.btn--gold .btn__icon { background: rgba(255, 255, 255, 0.35); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.6); --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost .btn__icon { background: var(--gold-pale); color: var(--gold-deep); }
.btn--ghost:hover { --btn-bg: #fff; box-shadow: inset 0 0 0 1px var(--gold-light), var(--shadow-1); }
.btn--dark:hover { box-shadow: 0 14px 34px -14px rgba(23, 21, 15, 0.55); }
.btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 13px; gap: 10px; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--block { width: 100%; justify-content: space-between; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--gold-deep); }
.link-arrow .icon { transition: transform 0.5s var(--ease-spring); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Double-bezel containers ---------- */
.bezel {
  padding: 7px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 238, 220, 0.55));
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
}
.bezel__core {
  border-radius: calc(var(--r-xl) - 7px);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(150, 112, 40, 0.08);
  overflow: hidden;
  position: relative;
}
.bezel--ivory .bezel__core { background: var(--ivory); }

/* ---------- Floating island navigation ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(calc(100% - 24px), 1180px);
  transition: transform 0.7s var(--ease-spring), opacity 0.5s var(--ease);
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(150, 112, 40, 0.16), 0 10px 40px -18px rgba(70, 52, 18, 0.28);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word b { font-weight: 600; }
.brand__word span { font-style: italic; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__links a:hover { background: rgba(176, 136, 58, 0.09); color: var(--ink); }
.nav__links a[aria-current='page'] { color: var(--gold-deep); background: rgba(176, 136, 58, 0.1); }
.nav__links .icon { width: 15px; height: 15px; color: var(--gold); }
.nav__cta { margin-left: 4px; }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; background: var(--ink); margin-left: auto; }
.nav__toggle span {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.6s var(--ease-spring), top 0.6s var(--ease-spring), opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 27px; }
.nav-open .nav__toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(251, 248, 242, 0.86);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.nav-open .menu { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 1.05;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-spring);
}
.menu__list a small { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.nav-open .menu__list a { transform: none; }
.nav-open .menu__list li:nth-child(2) a { transition-delay: 0.05s; }
.nav-open .menu__list li:nth-child(3) a { transition-delay: 0.1s; }
.nav-open .menu__list li:nth-child(4) a { transition-delay: 0.15s; }
.nav-open .menu__list li:nth-child(5) a { transition-delay: 0.2s; }
.nav-open .menu__list li:nth-child(6) a { transition-delay: 0.25s; }
.menu__foot { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: all 0.8s var(--ease) 0.3s; }
.nav-open .menu__foot { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__bar { padding-right: 8px; }
}

/* ---------- Reveal-on-scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-spring);
  transition-delay: var(--d, 0s);
}
.js [data-reveal='fade'] { transform: none; }
.js [data-reveal='scale'] { transform: scale(0.94); }
.js [data-reveal='blur'] { filter: blur(10px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-spring), filter 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 0.1em 0.1em; margin: 0 -0.1em -0.1em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-spring); transition-delay: calc(var(--i) * 0.045s + var(--d, 0s)); }
.split-words.is-in .w > span { transform: none; }
.no-js .split-words .w > span { transform: none; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero { position: relative; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 40px; overflow: clip; }
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(closest-side, rgba(232, 206, 140, 0.32), rgba(232, 206, 140, 0.08) 55%, transparent 72%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin-top: 28px; }
.hero__lead { margin-top: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__facts { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fact__num { font-family: var(--font-display); font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1; font-weight: 500; }
.fact__num small { font-size: 0.5em; font-family: var(--font-sans); font-weight: 400; color: var(--muted); margin-left: 3px; letter-spacing: 0.04em; }
.fact__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.hero__stage { position: relative; aspect-ratio: 4 / 5; max-height: min(78vh, 760px); margin-inline: auto; width: 100%; }
.stage-arch {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
  background: radial-gradient(120% 80% at 50% 30%, #fff 0%, #fbf6ea 55%, #f3e9d3 100%);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  overflow: hidden;
}
.stage-arch::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(176, 136, 58, 0.22);
  pointer-events: none;
}
.loupe-stage { position: absolute; inset: 0; cursor: none; touch-action: pan-y; }
.loupe-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.loupe {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--loupe, 210px);
  height: var(--loupe, 210px);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 3;
}
.loupe canvas { width: 100%; height: 100%; border-radius: 50%; }
.loupe::before {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #8a6420, #f0d999, #b88f41, #fff1c8, #8f6c27, #e6c57c, #8a6420);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  box-shadow: 0 20px 50px -12px rgba(40, 30, 10, 0.5);
}
.loupe::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.38), transparent 32%), radial-gradient(circle at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.28) 100%);
}
.loupe__tag {
  position: absolute;
  left: 50%;
  bottom: -44px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #f3e3b5;
  font-size: 11px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  font-weight: 500;
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  white-space: nowrap;
}
.hero__hint .icon { color: var(--gold); }
.badge-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  font-size: 12.5px;
  line-height: 1.25;
  animation: floaty 7s var(--ease) infinite;
}
.badge-float b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.badge-float__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad-soft); color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line); }
.badge-float--tl { top: 18%; left: -6%; }
.badge-float--br { bottom: 22%; right: -5%; animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee of facts */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--ivory)); padding-block: 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 22px; padding-inline: 22px; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.75rem); font-style: italic; color: var(--ink-2); white-space: nowrap; }
.marquee__item .arabic { font-style: normal; font-size: 1.15em; color: var(--gold-deep); }
.marquee__sep { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   Nano Zoom — pinned scroll journey
   ========================================================================== */
.zoom { position: relative; height: 560vh; background: linear-gradient(180deg, var(--ivory) 0%, #fff 10%, #fff 90%, var(--ivory) 100%); }
.zoom__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; place-items: center; padding-top: calc(var(--nav-h) - 10px); }
.zoom__grid { width: 100%; max-width: var(--container); padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(280px, 0.9fr) auto minmax(200px, 0.55fr); grid-template-areas: 'left lens hud'; align-items: center; gap: clamp(24px, 3.6vw, 64px); }
.zoom__left { grid-area: left; display: grid; gap: 26px; align-content: center; }
.zoom__head { display: grid; gap: 16px; justify-items: start; }
.zoom__title { font-size: clamp(2.2rem, 3.6vw, 3.7rem); line-height: 0.96; }
.zoom__title em { font-style: italic; font-weight: 400; }
.zoom__toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); position: relative; }
.zoom__toggle button { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0.05em; color: var(--muted); transition: color 0.5s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.zoom__toggle button .icon { width: 15px; height: 15px; }
.zoom__toggle button[aria-pressed='true'] { color: #2a1f08; }
.zoom__toggle .pill-bg { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--gold-grad); box-shadow: var(--shadow-gold); transition: transform 0.7s var(--ease-spring), width 0.7s var(--ease-spring); }

.lens-wrap { grid-area: lens; position: relative; width: min(74vh, 42vw, 700px); aspect-ratio: 1; }
.lens { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -50px rgba(60, 44, 12, 0.55), 0 0 0 1px var(--line); isolation: isolate; }
.lens canvas { width: 100%; height: 100%; }
.lens-ring { position: absolute; inset: -30px; pointer-events: none; }
.lens-ring svg { width: 100%; height: 100%; overflow: visible; }
.lens-ring__dial { transform-origin: 50% 50%; transform-box: fill-box; }
.lens-glare { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.32), transparent 28%), radial-gradient(circle, transparent 64%, rgba(23, 21, 15, 0.14) 100%); }

.zoom__captions { position: relative; min-height: 260px; }
.zoom-cap { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 1s var(--ease-spring); pointer-events: none; }
.zoom-cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.zoom-cap__step { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.zoom-cap h3 { margin-top: 12px; font-size: clamp(1.8rem, 2.5vw, 2.6rem); line-height: 1.02; }
.zoom-cap h3.arabic { font-family: var(--font-ar); font-size: clamp(1.9rem, 2.6vw, 2.7rem); line-height: 1.6; color: var(--gold-deep); }
.zoom-cap p { margin-top: 14px; color: var(--ink-2); font-weight: 300; font-size: 1.04rem; max-width: 25em; }
[data-mode='bible'] [data-show='quran'], [data-mode='quran'] [data-show='bible'] { display: none; }

.zoom__hud { grid-area: hud; display: grid; gap: 30px; justify-items: start; }
.hud-mag { font-family: var(--font-display); font-size: clamp(2.8rem, 4.4vw, 4.8rem); line-height: 0.9; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; margin-top: 8px; white-space: nowrap; }
.hud-label { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.hud-scale { display: grid; gap: 10px; }
.hud-scale__bar { height: 9px; border: 1.2px solid var(--ink); border-top: 0; width: 110px; }
.hud-scale__txt { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.hud-steps { display: flex; gap: 6px; margin-top: 10px; }
.hud-steps i { width: 24px; height: 3px; border-radius: 3px; background: var(--sand-2); overflow: hidden; position: relative; }
.hud-steps i::after { content: ''; position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(var(--p, 0)); transform-origin: left; }
.zoom__progress { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); transition: opacity 0.6s var(--ease); }
.zoom__progress .mouse { width: 18px; height: 28px; border-radius: 10px; border: 1.3px solid var(--muted-2); position: relative; }
.zoom__progress .mouse::after { content: ''; position: absolute; top: 6px; left: 50%; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

@media (max-width: 1060px) {
  .zoom { height: 520vh; }
  .zoom__sticky { padding-top: calc(var(--nav-h) + 4px); align-content: start; }
  .zoom__grid { grid-template-columns: 1fr; grid-template-areas: 'head' 'lens' 'caps'; justify-items: center; gap: 18px; text-align: center; }
  .zoom__left { display: contents; }
  .zoom__head { grid-area: head; justify-items: center; gap: 10px; }
  .zoom__title { font-size: clamp(1.7rem, 6.5vw, 2.5rem); }
  .zoom__captions { grid-area: caps; min-height: 150px; width: min(92vw, 520px); }
  .zoom-cap p { margin-inline: auto; font-size: 0.95rem; margin-top: 8px; }
  .zoom-cap h3 { font-size: clamp(1.5rem, 5.6vw, 2rem); margin-top: 6px; }
  .lens-wrap { width: min(78vw, 46vh, 520px); }
  .lens-ring { inset: -16px; }
  .zoom__hud { position: absolute; grid-area: unset; top: calc(var(--nav-h) + 10px); right: 14px; gap: 0; justify-items: end; text-align: right; }
  .hud-mag { font-size: 1.7rem; }
  .hud-scale, .hud-steps, .zoom__hud .hud-label { display: none; }
  .zoom__progress { display: none; }
}

/* ==========================================================================
   Scale ladder
   ========================================================================== */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 80px; }
.ladder::before { content: ''; position: absolute; left: 10%; right: 10%; top: 252px; height: 1px; background: linear-gradient(90deg, var(--gold-light), var(--line)); }
.rung { text-align: center; position: relative; padding-inline: 10px; }
.rung__art { height: 240px; display: grid; place-items: center; position: relative; }
.rung__art svg { overflow: visible; }
.rung__dot { position: absolute; top: 248px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px rgba(176, 136, 58, 0.1); }
.rung__size { font-family: var(--font-display); font-size: clamp(1.8rem, 2.5vw, 2.5rem); line-height: 1; margin-top: 34px; font-variant-numeric: lining-nums; }
.rung__size small { font-family: var(--font-sans); font-size: 0.42em; color: var(--muted); letter-spacing: 0.06em; margin-left: 4px; }
.rung__name { margin-top: 10px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.rung--hero .rung__size { color: var(--gold-deep); }
.rung--hero .rung__name { color: var(--gold-deep); }
.ladder-note { margin-top: 70px; display: flex; justify-content: center; }
.ladder-note__inner { display: inline-flex; align-items: center; gap: 18px; padding: 14px 28px 14px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.ladder-note__x { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; padding: 10px 18px; border-radius: 999px; background: var(--gold-grad-soft); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .ladder::before { display: none; }
  .rung__art { height: 150px; }
  .rung__dot { display: none; }
  .rung:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Faith split (two worlds, one technology)
   ========================================================================== */
.faith-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 72px; }
.faith-card { display: block; height: 100%; }
.faith-card .bezel__core { height: 100%; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 52px); background: radial-gradient(120% 70% at 50% 0%, #fff 0%, var(--ivory) 60%, var(--sand) 100%); transition: transform 0.8s var(--ease-spring); }
.faith-card:hover .bezel__core { transform: translateY(-4px); }
.faith-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.faith-card__symbol { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--gold-deep); }
.faith-card__symbol .icon { width: 30px; height: 30px; stroke-width: 1.1; }
.faith-card__count { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.faith-card h3 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 0.95; margin-top: 34px; }
.faith-card__script { font-family: var(--font-ar); font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.5; color: var(--gold-deep); direction: rtl; }
.faith-card__script--en { font-family: var(--font-display); font-style: italic; direction: ltr; }
.faith-card p { margin-top: 16px; color: var(--ink-2); font-weight: 300; max-width: 30em; }
.faith-card__collage { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; margin-top: 34px; }
.faith-card__collage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-soft); transition: transform 1.2s var(--ease-spring); }
.faith-card__collage img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.faith-card:hover .faith-card__collage img { transform: scale(1.025); }
.faith-card__foot { margin-top: auto; padding-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; letter-spacing: 0.03em; color: var(--ink-2); white-space: nowrap; }
.chip .icon { width: 14px; height: 14px; color: var(--gold); }
@media (max-width: 900px) { .faith-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process (how it is made) — editorial split
   ========================================================================== */
.process { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.process__media { position: sticky; top: 110px; }
.process__media .bezel__core img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.process__caption { position: absolute; left: 22px; bottom: 22px; right: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.steps { list-style: none; padding: 0; margin: 46px 0 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 74px 1fr; gap: 26px; padding-block: 34px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad-soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--gold-deep); position: relative; }
.step__icon .icon { width: 32px; height: 32px; stroke-width: 1.1; }
.step__icon::after { counter-increment: step; content: '0' counter(step); position: absolute; top: -6px; right: -10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; background: #fff; padding: 2px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--gold-deep); }
.step h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.step p { margin-top: 10px; color: var(--ink-2); font-weight: 300; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process__media { position: relative; top: 0; } }

/* ==========================================================================
   Product cards & rails
   ========================================================================== */
.pcard { display: block; position: relative; }
.pcard__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ivory); aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--line-soft); isolation: isolate; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.9s var(--ease), transform 1.6s var(--ease-spring); background-size: cover; }
.pcard__media img.pcard__alt { opacity: 0; transform: scale(1.04); }
.pcard:hover .pcard__media img.pcard__alt { opacity: 1; transform: scale(1); }
.pcard:hover .pcard__media img:not(.pcard__alt) { transform: scale(1.04); }
.pcard__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; pointer-events: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.tag .icon { width: 13px; height: 13px; color: var(--gold); }
.tag--nano { background: var(--ink); color: #f3e3b5; box-shadow: none; }
.tag--nano .icon { color: #e6c57c; }
.pcard__body { padding: 18px 6px 4px; }
.pcard__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pcard__title { font-family: var(--font-display); font-size: 1.42rem; line-height: 1.12; margin-top: 8px; font-weight: 500; transition: color 0.4s var(--ease); }
.pcard:hover .pcard__title { color: var(--gold-deep); }
.pcard__sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pcard__price { margin-top: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
.pcard__swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.swatch--gold { background: linear-gradient(135deg, #e9cf8c, #b4893a); }
.swatch--rose-gold { background: linear-gradient(135deg, #f1c7b5, #c0806a); }
.swatch--silver, .swatch--sterling-silver, .swatch--rhodium { background: linear-gradient(135deg, #f4f4f4, #a9a9ad); }

.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px); }
@media (max-width: 1100px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-products { grid-template-columns: repeat(2, 1fr); } .pcard__title { font-size: 1.2rem; } .tag { font-size: 9.5px; padding: 4px 8px 4px 6px; } }

.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 23vw, 320px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 52px var(--gutter) 20px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 8px; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease-spring), background-color 0.4s var(--ease), box-shadow 0.4s; }
.icon-btn:hover { background: var(--gold-pale); box-shadow: inset 0 0 0 1px var(--gold-light); }
.icon-btn:active { transform: scale(0.94); }

/* ==========================================================================
   Heritage bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 18px; margin-top: 64px; }
.bento__item { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); box-shadow: 0 0 0 1px var(--line-soft); isolation: isolate; display: block; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-spring); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20, 16, 8, 0.66) 100%); z-index: 1; }
.bento__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.bento__body h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.bento__body p { font-size: 13.5px; opacity: 0.86; margin-top: 6px; max-width: 30em; font-weight: 300; }
.bento__count { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); font-size: 13px; }
.bento__item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento__item:nth-child(2) { grid-column: span 5; }
.bento__item:nth-child(3) { grid-column: span 5; }
.bento__item:nth-child(4) { grid-column: span 6; }
.bento__item:nth-child(5) { grid-column: span 6; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; } .bento__item:nth-child(n) { grid-column: auto; grid-row: auto; } }

/* ==========================================================================
   Brand film & videos
   ========================================================================== */
.film { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: #120f08; box-shadow: var(--shadow-2); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film__overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 56px); background: linear-gradient(90deg, rgba(14, 11, 5, 0.72) 0%, rgba(14, 11, 5, 0.25) 50%, transparent 75%); color: #fff; }
.film__overlay h2 { color: #fff; }
.film__overlay p { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 760px) { .film { aspect-ratio: 4 / 5; } .film__overlay { background: linear-gradient(180deg, transparent 30%, rgba(14, 11, 5, 0.8) 100%); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { margin-top: 56px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 4px; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: transform 0.6s var(--ease-spring), background-color 0.4s; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.4px; margin: -0.7px 0 0 -6.5px; background: var(--gold-deep); }
.faq summary .pm::after { transform: rotate(90deg); transition: transform 0.6s var(--ease-spring); }
.faq details[open] summary .pm { background: var(--gold-pale); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq__a { padding: 0 4px 30px; color: var(--ink-2); font-weight: 300; max-width: 52em; }
.faq__a p + p { margin-top: 12px; }

/* ==========================================================================
   CTA band & footer
   ========================================================================== */
.cta-band .bezel__core { padding: clamp(36px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: radial-gradient(100% 140% at 0% 0%, #fff 0%, var(--ivory) 45%, var(--gold-pale) 100%); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (max-width: 860px) { .cta-band .bezel__core { grid-template-columns: 1fr; } }

.footer { padding-top: 110px; padding-bottom: 40px; background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%); border-top: 1px solid var(--line); margin-top: var(--section); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-deep); }
.footer__brand p { margin-top: 18px; color: var(--ink-2); font-weight: 300; max-width: 26em; }
.footer__bottom { margin-top: 80px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__word { font-family: var(--font-display); font-size: clamp(4rem, 15vw, 15rem); line-height: 0.8; letter-spacing: -0.04em; margin-top: 70px; text-align: center; user-select: none; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Page heads (faith / catalog / editorial)
   ========================================================================== */
.page-head { padding-top: calc(var(--nav-h) + 90px); padding-bottom: 60px; position: relative; overflow: clip; }
.page-head::before { content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 120vw; max-width: 1500px; aspect-ratio: 2 / 1; background: radial-gradient(closest-side, rgba(232, 206, 140, 0.28), transparent 70%); pointer-events: none; }
.page-head .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs span[aria-hidden] { color: var(--gold-light); }

.faith-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.faith-hero__verse { padding: 30px 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); }
.verse-ar { font-family: var(--font-ar); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.9; color: var(--gold-deep); direction: rtl; text-align: right; }
.verse-en { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.35; }
.verse-ref { margin-top: 14px; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .faith-hero { grid-template-columns: 1fr; } }

.faith-mosaic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 54px; }
.faith-mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line-soft); }
.faith-mosaic img:nth-child(even) { transform: translateY(26px); }
@media (max-width: 760px) { .faith-mosaic { grid-template-columns: repeat(3, 1fr); } .faith-mosaic img:nth-child(n + 4) { display: none; } }

.inside { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.inside__lens { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.spec { padding: 20px 22px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.spec__k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.spec__v { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; margin-top: 6px; }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } }

/* Filters */
.filters { display: contents; }
.filters__bar { position: sticky; top: 92px; z-index: 20; margin-top: 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-soft); }
.seg button { padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; color: var(--muted); transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), inset 0 0 0 1px var(--line); }
.seg button .icon { width: 14px; height: 14px; color: var(--gold); }
.seg button .n { font-size: 11px; color: var(--muted-2); }
.select { appearance: none; -webkit-appearance: none; padding: 11px 38px 11px 18px; border-radius: 999px; border: 0; background: var(--ivory) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238a6420' stroke-width='1.4'><path d='M2 4l4 4 4-4'/></svg>") no-repeat right 15px center; box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 13px; font-weight: 500; cursor: pointer; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 42px; border-radius: 999px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-soft); margin-left: auto; min-width: 200px; }
.search input { border: 0; background: none; outline: none; width: 100%; font-size: 14px; }
.search .icon { color: var(--gold); }
.result-count { font-size: 13px; color: var(--muted); padding-inline: 10px; white-space: nowrap; }
.filters__more { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip-btn { padding: 8px 15px; border-radius: 999px; font-size: 12.5px; letter-spacing: 0.03em; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: all 0.4s var(--ease); display: inline-flex; gap: 6px; align-items: center; }
.chip-btn:hover { box-shadow: inset 0 0 0 1px var(--gold-light); }
.chip-btn[aria-pressed='true'] { background: var(--ink); color: #f3e3b5; box-shadow: none; }
.chip-btn .n { opacity: 0.6; font-size: 11px; }
.grid-products .pcard { transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-spring); }
.grid-products .pcard.is-out { display: none; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .filters__bar { top: 86px; }
  .filters__bar { border-radius: 24px; }
  .search { margin-left: 0; width: 100%; }
  .seg { overflow-x: auto; max-width: 100%; }
}

/* ==========================================================================
   Product page
   ========================================================================== */
.product { padding-top: calc(var(--nav-h) + 60px); }
.product__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 90px); margin-top: 26px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: 100px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 76vh; overflow-y: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--line-soft); opacity: 0.6; transition: opacity 0.4s var(--ease), box-shadow 0.4s; flex: none; background: var(--ivory); }
.gallery__thumbs button[aria-current='true'] { opacity: 1; box-shadow: 0 0 0 1.5px var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); aspect-ratio: 4 / 5; cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.5s var(--ease); }
.gallery__zoom { position: absolute; inset: 0; background-repeat: no-repeat; opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none; background-color: #fff; }
.gallery__main:hover .gallery__zoom.is-ready { opacity: 1; }
.gallery__hint { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-2); pointer-events: none; transition: opacity 0.4s; }
.gallery__main:hover .gallery__hint { opacity: 0; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line); display: none; place-items: center; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
@media (max-width: 960px) {
  .product__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; position: relative; top: 0; }
  .gallery__thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .gallery__thumbs button { width: 64px; }
  .gallery__nav { display: grid; }
}
.pinfo__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pinfo h1 { font-size: clamp(2.4rem, 4vw, 3.9rem); line-height: 0.98; margin-top: 18px; }
.pinfo__sub { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-deep); margin-top: 8px; }
.pinfo__summary { margin-top: 22px; color: var(--ink-2); font-weight: 300; font-size: 1.08rem; }
.pinfo__price { margin-top: 26px; display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: 2.2rem; }
.pinfo__price small { font-family: var(--font-sans); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.opt { margin-top: 28px; }
.opt__label { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.opt__label b { color: var(--ink); font-weight: 500; letter-spacing: 0.08em; text-transform: none; font-size: 14px; margin-left: 6px; }
.opt__values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.opt__btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; transition: box-shadow 0.4s var(--ease); }
.opt__btn .swatch { width: 22px; height: 22px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.opt__btn[aria-pressed='true'] { box-shadow: inset 0 0 0 1.5px var(--gold); }
.pinfo__ctas { display: grid; gap: 10px; margin-top: 32px; }
.pinfo__note { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.pinfo__note .icon { color: var(--gold); }
.pinfo__facts { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pfact { padding: 16px; border-radius: var(--r-md); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-soft); }
.pfact .icon { color: var(--gold); width: 22px; height: 22px; }
.pfact b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-top: 10px; line-height: 1.1; }
.pfact span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.mini-lens { margin-top: 34px; display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: #121009; color: #f6ecd2; position: relative; overflow: hidden; }
.mini-lens__canvas { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(230, 205, 145, 0.4), 0 0 0 7px rgba(230, 205, 145, 0.08); }
.mini-lens h3 { color: #f6ecd2; font-size: 1.7rem; }
.mini-lens p { font-size: 14px; color: rgba(246, 236, 210, 0.75); margin-top: 8px; font-weight: 300; }
.mini-lens a { color: var(--gold-light); }
.prose { max-width: 46em; color: var(--ink-2); font-weight: 300; font-size: 1.04rem; }
.prose h3, .prose h4 { font-family: var(--font-display); color: var(--ink); margin-top: 1.8em; margin-bottom: 0.5em; font-weight: 500; }
.prose h3 { font-size: 1.9rem; }
.prose h4 { font-size: 1.45rem; }
.prose p { margin-top: 0.85em; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose > :first-child { margin-top: 0; }
.ptabs { display: grid; grid-template-columns: 0.36fr 1fr; gap: clamp(30px, 5vw, 90px); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 17px; }
@media (max-width: 900px) { .ptabs { grid-template-columns: 1fr; } .pinfo__facts { grid-template-columns: 1fr 1fr 1fr; } .mini-lens { grid-template-columns: 110px 1fr; } .mini-lens__canvas { width: 110px; height: 110px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(251, 248, 242, 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 18px; box-shadow: var(--shadow-2); background: #fff; transform: scale(0.96); transition: transform 0.7s var(--ease-spring); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 22px; right: 22px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 22px; }
.lightbox__next { right: 22px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 16px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; transition: box-shadow 0.3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 16px; background: var(--gold-pale); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* Utility spacing */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 56px; } .mt-6 { margin-top: 80px; }
.flex { display: flex; } .gap-2 { gap: 12px; } .wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Responsive hero */
@media (max-width: 1060px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 520px; width: 100%; max-height: none; }
  .badge-float--tl { left: 0; }
  .badge-float--br { right: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__facts { gap: 22px 28px; }
  .badge-float { display: none; }
  .btn { min-height: 50px; }
}

/* ---------- Mobile & touch polish ---------- */
.lens-badge { display: none; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); z-index: 3; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #f3e3b5; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.seg { scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
@media (hover: none) { .gallery__hint { display: none; } .loupe-stage { cursor: auto; } }
@media (max-width: 1060px) {
  .lens-badge { display: block; }
  .zoom__hud { display: none !important; }
}
@media (max-width: 760px) {
  .filters__bar { position: relative; top: 0; }
  .pinfo__facts { grid-template-columns: 1fr; }
  .pfact { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; }
  .pfact .icon { grid-row: span 2; }
  .pfact b { margin-top: 0; }
  .pfact span { grid-column: 2; margin-top: 2px; }
}
@media (max-width: 600px) {
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; }
  .loupe-stage { --loupe: 150px; }
  .loupe__tag { bottom: -38px; font-size: 10px; }
}

/* Sticky filter bar follows the island nav: slides up when the nav hides */
.filters__bar { transition: top 0.6s var(--ease-spring); }
.nav.is-hidden ~ main .filters__bar { top: 16px; }

/* ==========================================================================
   Shop — bag button, slide-in bag, purchase box, bag page, checkout, orders
   ========================================================================== */
.nav__bag { position: relative; flex: none; width: 48px; height: 48px; margin-left: 2px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nav__bag:hover { background: var(--gold-pale); box-shadow: inset 0 0 0 1px var(--gold-light); }
.nav__bag .icon { width: 21px; height: 21px; }
.nav__bag-count { position: absolute; top: 3px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #f3e3b5; font-size: 10.5px; font-weight: 600; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; font-variant-numeric: tabular-nums; }
.nav__bag.is-bump { animation: bag-bump 0.7s var(--ease-spring); }
@keyframes bag-bump { 30% { transform: scale(1.16); } 100% { transform: scale(1); } }
.nav__note { margin: 8px auto 0; width: max-content; max-width: 100%; display: flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(246, 236, 210, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; letter-spacing: 0.04em; color: var(--gold-deep); }
.nav__note .icon { width: 14px; height: 14px; }
@media (max-width: 1060px) { .nav__bag { margin-left: auto; } .nav__toggle { margin-left: 8px; } }

/* ---------- Slide-in bag ---------- */
.drawer { position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.7s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(23, 21, 15, 0.3); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.5s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px)); display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); transform: translateX(calc(100% + 24px)); transition: transform 0.7s var(--ease-spring); overflow: hidden; outline: none; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 18px 28px; border-bottom: 1px solid var(--line-soft); }
.drawer__title { font-size: 2rem; }
.drawer__title small { font-family: var(--font-sans); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; margin-left: 4px; }
.drawer__close { width: 44px; height: 44px; }
.drawer__free { padding: 14px 28px 16px; background: var(--ivory); border-bottom: 1px solid var(--line-soft); }
.drawer__free p { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.drawer__free p .icon { color: var(--gold); width: 18px; height: 18px; }
.drawer__free b { font-weight: 600; color: var(--gold-deep); }
.meter { margin-top: 10px; height: 5px; border-radius: 999px; background: var(--sand-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gold-grad); background-size: 200% 100%; transition: width 0.9s var(--ease); }
.drawer__free.is-done .meter span { animation: shine 3s var(--ease) infinite; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 28px; overscroll-behavior: contain; }
.drawer__issue { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #fbf1ee; color: #7d3725; font-size: 13px; }
.bagline { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); transition: opacity 0.3s; }
.bagline:last-child { border-bottom: 0; }
.bagline.is-busy { opacity: 0.45; pointer-events: none; }
.bagline.is-new { animation: line-in 0.8s var(--ease); }
@keyframes line-in { from { opacity: 0; transform: translateY(10px); } }
.bagline__img { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--ivory); box-shadow: 0 0 0 1px var(--line-soft); }
.bagline__img img { width: 100%; height: 100%; object-fit: cover; }
.bagline__info { min-width: 0; }
.bagline__title { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.12; font-weight: 500; transition: color 0.3s; }
.bagline__title:hover { color: var(--gold-deep); }
.bagline__meta { margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.bagline__row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.bagline__remove, .link-btn { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: color 0.3s; }
.bagline__remove:hover, .link-btn:hover { color: var(--ink); }
.bagline__price { text-align: right; font-weight: 500; font-size: 15px; white-space: nowrap; }
.bagline__price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.drawer__foot { padding: 20px 28px 22px; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, #fff, var(--ivory)); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 1.7rem; }
.drawer__total span { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.drawer__fine { display: flex; gap: 8px; align-items: center; margin: 6px 0 16px; font-size: 12.5px; color: var(--muted); }
.drawer__fine .icon { width: 16px; height: 16px; color: var(--gold); }
.drawer__links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.drawer__links a, .drawer__links button { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.drawer__links a:hover, .drawer__links button:hover { color: var(--gold-deep); }
.drawer__empty { text-align: center; padding: 56px 8px; display: grid; justify-items: center; gap: 12px; }
.drawer__empty-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad-soft); color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line); }
.drawer__empty-icon .icon { width: 30px; height: 30px; }
.drawer__empty h3 { font-size: 1.9rem; margin-top: 6px; }
.drawer__empty p { color: var(--muted); font-size: 14px; max-width: 24em; margin-bottom: 8px; }
.drawer-lock, .drawer-lock body { overflow: hidden; }
@media (max-width: 520px) {
  .drawer__panel { top: 8px; right: 8px; bottom: 8px; width: calc(100vw - 16px); }
  .drawer__head, .drawer__body, .drawer__foot, .drawer__free { padding-left: 20px; padding-right: 20px; }
  .bagline { grid-template-columns: 72px 1fr auto; gap: 14px; }
}

/* ---------- Quantity stepper ---------- */
.qty { display: inline-flex; align-items: center; height: 36px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; transition: color 0.3s; }
.qty button:hover:not(:disabled) { color: var(--gold-deep); }
.qty button:disabled { opacity: 0.3; cursor: default; }
.qty button .icon { width: 15px; height: 15px; }
.qty span, .qty input { min-width: 22px; text-align: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.qty input { width: 38px; border: 0; background: none; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg { height: 54px; }
.qty--lg button { width: 46px; }

/* ---------- Purchase box (product page) ---------- */
.price-was { font-size: 1.45rem; color: var(--muted-2); text-decoration-thickness: 1px; }
.pcard__price s { color: var(--muted-2); font-weight: 400; margin-left: 4px; }
.pcard__out { margin-left: 6px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9a4a33; }
.stock-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--gold-deep); }
.stock-note .icon { width: 16px; height: 16px; }
.stock-note--out { color: #9a4a33; }
fieldset.opt { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
fieldset.opt legend { padding: 0; }
.opt__btn--text { padding: 9px 16px; cursor: pointer; }
.opt__btn--text:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--gold); background: var(--ivory); }
.opt__btn--text:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.buy__row { display: flex; gap: 10px; margin-top: 30px; }
.buy__submit { flex: 1; justify-content: space-between; }
.btn.is-busy { pointer-events: none; opacity: 0.7; }
.buy__error { margin-top: 12px; font-size: 13.5px; color: #9a4a33; }
.buy__trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.buy__trust li { display: inline-flex; align-items: center; gap: 8px; }
.buy__trust .icon { width: 16px; height: 16px; color: var(--gold); }
.pinfo__ctas--alt { grid-template-columns: 1fr 1fr; margin-top: 20px; }
.pinfo__ctas--alt .btn { justify-content: space-between; }
@media (max-width: 420px) { .pinfo__ctas--alt { grid-template-columns: 1fr; } }

/* Back to top — round gold-edged button on the right, fades in after scrolling down */
.to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--gold-light), 0 14px 30px -14px rgba(70, 52, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease-spring), visibility 0s linear 0.45s, background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--gold-pale); color: var(--ink); }
.to-top:active { transform: scale(0.94); }
.to-top .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.nav-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 760px) { .to-top { width: 46px; height: 46px; right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.is-shown { transform: none; } }

.admin-pill { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--ink); color: #f3e3b5; font-size: 12.5px; letter-spacing: 0.06em; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5); }
.admin-pill .icon { width: 15px; height: 15px; color: var(--gold-light); }

/* ---------- Bag page & checkout ---------- */
.shop-head { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 28px; position: relative; }
.shop-head h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-top: 14px; }
.shop-head p { color: var(--muted); margin-top: 10px; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 980px) { .shop-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); padding: clamp(22px, 3vw, 36px); }
.card + .card { margin-top: 18px; }
.card__title { font-size: 1.9rem; }
.card__title + * { margin-top: 18px; }
.card--ivory { background: var(--ivory); }
.summary { position: sticky; top: calc(var(--nav-h) + 28px); }
@media (max-width: 980px) { .summary { position: static; } }
.sumline { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.sumline__img { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--ivory); }
.sumline__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-soft); }
.sumline__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #f3e3b5; font-size: 11px; line-height: 20px; text-align: center; }
.sumline__t { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.15; }
.sumline__m { font-size: 12px; color: var(--muted); margin-top: 2px; }
.sumline__p { font-size: 14px; font-weight: 500; white-space: nowrap; }
.sumrows { margin-top: 16px; display: grid; gap: 8px; font-size: 14.5px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.sumrow small { color: var(--muted); }
.sumrow--total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); align-items: baseline; color: var(--ink); }
.sumrow--total span { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.sumrow--total b { font-family: var(--font-display); font-size: 1.95rem; font-weight: 500; }
.sumnote { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.sumnote .icon { width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
.bagrow { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bagrow:first-child { padding-top: 4px; }
.bagrow:last-child { border-bottom: 0; padding-bottom: 4px; }
.bagrow__img { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--ivory); box-shadow: 0 0 0 1px var(--line-soft); }
.bagrow__img img { width: 100%; height: 100%; object-fit: cover; }
.bagrow__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.bagrow__title:hover { color: var(--gold-deep); }
.bagrow__meta { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.bagrow__ctrl { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.bagrow__ctrl form { display: inline-flex; align-items: center; gap: 8px; }
.bagrow__price { text-align: right; font-size: 16px; font-weight: 500; white-space: nowrap; }
.bagrow__price small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
@media (max-width: 600px) { .bagrow { grid-template-columns: 90px 1fr; gap: 16px; } .bagrow__price { grid-column: 2; text-align: left; } }
.select-pill { -webkit-appearance: none; appearance: none; padding: 8px 34px 8px 16px; border-radius: 999px; border: 0; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6420' stroke-width='1.8'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center / 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; cursor: pointer; }
.select-pill:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.notice--err { background: #fbf1ee; box-shadow: inset 0 0 0 1px rgba(154, 74, 51, 0.22); color: #7d3725; }
.notice--ok { background: #f2f6ef; box-shadow: inset 0 0 0 1px rgba(70, 120, 60, 0.22); color: #2f5a27; }
.notice + .notice { margin-top: 10px; }
.empty-bag { text-align: center; padding: 30px 0 10px; display: grid; justify-items: center; gap: 14px; }
.empty-bag p { color: var(--muted); max-width: 30em; }

.steps { display: flex; align-items: center; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.steps li { display: inline-flex; align-items: center; gap: 10px; }
.steps li + li::before { content: ''; width: 26px; height: 1px; background: var(--line); }
.steps b { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 500; letter-spacing: 0; box-shadow: inset 0 0 0 1px var(--line); }
.steps a { display: inline-flex; align-items: center; gap: 10px; }
.steps a:hover { color: var(--gold-deep); }
.steps .is-done b { background: var(--gold-pale); color: var(--gold-deep); box-shadow: none; }
.steps .is-current { color: var(--ink); }
.steps .is-current b { background: var(--ink); color: #f3e3b5; box-shadow: none; }

.form__row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 640px) { .form__row--3 { grid-template-columns: 1fr; } }
.field label small { text-transform: none; letter-spacing: 0.02em; font-size: 12px; color: var(--muted-2); }
.field.is-optional label::after { content: ' (optional)'; text-transform: none; letter-spacing: 0.02em; color: var(--muted-2); }
.field--error input, .field--error select { box-shadow: inset 0 0 0 1.5px #c0674e; }
.field__err { font-size: 12.5px; color: #9a4a33; }
.form__legend { font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-top: 10px; }
.form__actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }

.rates { display: grid; gap: 10px; }
.rate { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.3s var(--ease), background-color 0.3s; }
.rate:hover { box-shadow: inset 0 0 0 1px var(--gold-light); }
.rate:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--gold); background: var(--ivory); }
.rate input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted-2); margin: 0; transition: box-shadow 0.3s var(--ease); }
.rate input:checked { box-shadow: inset 0 0 0 6px var(--gold); }
.rate input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rate__name { font-weight: 500; }
.rate__days { display: block; font-size: 13px; color: var(--muted); }
.rate__price { font-weight: 500; white-space: nowrap; }
.rate__free { color: var(--gold-deep); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

.recap { border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.recap__row { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; padding: 14px 18px; font-size: 14px; align-items: start; }
.recap__row + .recap__row { border-top: 1px solid var(--line-soft); }
.recap__row > span:first-child { color: var(--muted); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 2px; }
.recap__row a { font-size: 13px; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .recap__row { grid-template-columns: 1fr auto; } .recap__row > span:first-child { grid-column: 1 / -1; } }

.pay-actions { display: grid; gap: 12px; margin-top: 24px; }
.pay-actions .btn { justify-content: space-between; }
.pay-fine { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 12.5px; color: var(--muted); }
.pay-fine .icon { width: 15px; height: 15px; color: var(--gold); }

.devpay { border-radius: var(--r-lg); padding: 24px; background: repeating-linear-gradient(135deg, #fffaf0 0 14px, #fdf3df 14px 28px); box-shadow: inset 0 0 0 1px var(--line); }
.devpay b { color: var(--gold-deep); }

.thanks { text-align: center; }
.thanks__seal { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--gold-grad); color: #2a1f08; box-shadow: var(--shadow-gold); }
.thanks__seal .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.thanks__seal--wait { background: var(--gold-grad-soft); color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { position: relative; padding-top: 30px; font-size: 13px; color: var(--muted); text-align: center; }
.timeline li::before { content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--sand-2); }
.timeline li:first-child::before { left: 50%; }
.timeline li:last-child::before { right: 50%; }
.timeline li::after { content: ''; position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--sand-2); }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done::before { background: var(--gold-light); }
.timeline li.is-done::after { background: var(--gold); box-shadow: 0 0 0 4px rgba(176, 136, 58, 0.18); }
.timeline b { display: block; font-weight: 500; }
.timeline small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; background: #f1efeb; color: var(--muted); white-space: nowrap; }
.status-pill--gold { background: var(--gold-pale); color: var(--gold-deep); }
.status-pill--blue { background: #e9f0f7; color: #2d5277; }
.status-pill--green { background: #eaf3e6; color: #3c6a2f; }
.status-pill--red { background: #fbece8; color: #9a4a33; }

.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 14.5px; }
.kv dt { color: var(--muted); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .split-2 { grid-template-columns: 1fr; } }
.steps b .icon { width: 14px; height: 14px; stroke-width: 2; }

/* Hero "Reveal" selector — the active scripture gets the same gold pill as the zoom toggle */
.hero__hint { padding: 5px 5px 5px 14px; }
.hint-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hint-toggle button { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); transition: color 0.5s var(--ease); }
.hint-toggle button::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gold-grad); background-size: 180% 100%; box-shadow: var(--shadow-gold); opacity: 0; transform: scale(0.86); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-spring); }
.hint-toggle button[aria-pressed='true'] { color: #2a1f08; }
.hint-toggle button[aria-pressed='true']::before { opacity: 1; transform: none; }
.hint-toggle button:hover:not([aria-pressed='true']) { color: var(--ink); }
.hero__hint .hint-toggle .icon { width: 13px; height: 13px; color: currentColor; }

/* Card colour swatches: hover (or tap) a colour to see that plating's photo */
.pcard__swatches { gap: 9px; }
.pcard__swatches .swatch { position: relative; width: 16px; height: 16px; cursor: pointer; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease); }
.pcard__swatches .swatch::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; } /* larger hover/tap target */
.pcard__swatches .swatch:hover { transform: scale(1.15); }
.pcard__swatches .swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 2px #fff, 0 0 0 3.5px var(--gold); }
.pcard.is-swatching .pcard__media img.pcard__alt { opacity: 0 !important; }

/* Contact form: hints, character counter, filtered-character feedback */
.field__hint { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.field__hint .counter { font-variant-numeric: tabular-nums; }
.field__hint .counter.is-near { color: var(--gold-deep); font-weight: 500; }
.field input.is-filtered, .field textarea.is-filtered { animation: field-filtered 0.6s var(--ease); }
@keyframes field-filtered { 0% { box-shadow: inset 0 0 0 1.5px #c0674e; } 100% { box-shadow: inset 0 0 0 1px var(--line); } }
