/* =========================================================================
   Nouran Jewels storefront mockup, "The Certificate" world.
   Three inks on security paper: logo green, foil gold, paper.
   Photography is the only full colour. Square document corners; circles
   only for seals and stones. Logical properties throughout (EN LTR / AR RTL).
   ========================================================================= */

:root {
  /* paper */
  --paper: #eef0e8;
  --paper-2: #e4e8de;
  --paper-3: #f5f6f1;
  --well: #ffffff; /* only behind product packshots, which are shot on white */
  /* inks */
  --ink: #1d3a33;
  --ink-deep: #142c26;
  --ink-2: #3e5a53;
  --ink-3: #4b635c;
  --rule: rgba(29, 58, 51, 0.2);
  --rule-2: rgba(29, 58, 51, 0.42);
  --sage: #8ea99d;
  --sage-soft: rgba(142, 169, 157, 0.45);
  --foil-dark: #75572a;
  --foil: #b89350;
  --foil-light: #ead8a6;
  --alert: #8e2235;
  --on-ink: #eef0e8;
  /* type */
  --f-display: 'Marcellus', 'Amiri', 'Times New Roman', serif;
  --f-body: 'Satoshi', 'Almarai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --fs-display: clamp(2.5rem, 1.35rem + 3.9vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.75vw, 1.7rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-label: 0.75rem;
  --lh-body: 1.62;
  --lh-head: 1.04;
  /* space */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --section: clamp(64px, 7.6vw, 120px);
  --header-h: 76px;
  --band-h: 34px;
  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 160ms;
  --t-hover: 200ms;
  --t-pop: 220ms;
  --t-sheet: 440ms;
  /* layers */
  --z-sticky: 30;
  --z-header: 40;
  --z-float: 45;
  --z-menu: 50;
  color-scheme: light;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--sage) var(--paper-2);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--paper-2);
}
::-webkit-scrollbar-thumb {
  background: var(--sage);
  border: 3px solid var(--paper-2);
  border-radius: 6px;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
button {
  font: inherit;
  color: inherit;
}
button,
a,
[role='button'],
label.chip {
  touch-action: manipulation;
}
input,
select,
textarea {
  font: inherit;
  font-size: 16px;
  color: inherit;
  caret-color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.on-ink :focus-visible,
.btn-primary:focus-visible {
  outline-color: var(--foil);
}
[hidden] {
  display: none !important;
}
.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;
}
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  text-decoration: none;
  transition: top var(--t-hover) var(--ease-out);
}
.skip-link:focus {
  top: 12px;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}
.icon-lg {
  width: 1.5em;
  height: 1.5em;
}
[dir='rtl'] .flip {
  transform: scaleX(-1);
}
.num,
.price,
time,
.tabular {
  font-variant-numeric: tabular-nums lining-nums;
}
bdi,
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section) calc(var(--section) * 1.06);
}
.section-head {
  display: grid;
  gap: 14px;
  margin-block-end: clamp(28px, 4vw, 52px);
  max-width: 62ch;
}
.section-head h2 {
  font-size: var(--fs-h2);
}
.section-head p {
  color: var(--ink-2);
  max-width: 56ch;
}
.section-head.is-row {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
  max-width: 52ch;
}
.label {
  font-family: var(--f-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mono {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.muted {
  color: var(--ink-2);
}
.tbc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding: 1px 6px 0;
  border: 1px dashed var(--rule-2);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  vertical-align: 0.15em;
  white-space: nowrap;
}
/* in a field value the gap is a real space, so a chip that wraps starts flush with the text above */
.field dd .tbc {
  margin-inline-start: 0;
}
.sample-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px dashed var(--rule-2);
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.sample-note .icon {
  margin-top: 2px;
}

/* ---------- microtext band (one marquee per page) ---------- */
.band {
  position: relative;
  z-index: calc(var(--z-header) + 1);
  height: var(--band-h);
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.band-track {
  display: flex;
  width: max-content;
  animation: band-move 46s linear infinite;
}
.band:hover .band-track,
.band:focus-within .band-track {
  animation-play-state: paused;
}
.band-seq {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-inline: 13px;
  padding-block: 4px;
  font-family: var(--f-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.band-seq a {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 240, 232, 0.4);
}
.band-seq a:hover {
  border-bottom-color: var(--foil-light);
}
.band-mark {
  width: 6px;
  height: 6px;
  background: var(--foil);
  transform: rotate(45deg);
  flex: none;
}
@keyframes band-move {
  to {
    transform: translateX(-50%);
  }
}
[dir='rtl'] .band-track {
  animation-name: band-move-rtl;
}
@keyframes band-move-rtl {
  to {
    transform: translateX(50%);
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-decoration: none;
  padding: 6px 4px;
}
.brand img {
  width: clamp(122px, 11vw, 152px);
  height: auto;
}
.brand-sub {
  font-family: var(--f-display);
  font-size: clamp(0.64rem, 0.6rem + 0.15vw, 0.74rem);
  letter-spacing: 0.62em;
  margin-inline-end: -0.62em;
  line-height: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}
.nav-item {
  position: static;
}
.nav-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform var(--t-hover) var(--ease-out);
}
[dir='rtl'] .nav-link::after {
  --origin: right;
}
.nav-link[aria-current='page']::after,
.nav-link[aria-expanded='true']::after {
  transform: scaleX(1);
}
.nav-link .icon {
  width: 0.9em;
  height: 0.9em;
  transition: transform var(--t-hover) var(--ease-out);
}
.nav-link[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover::after {
    transform: scaleX(1);
  }
}
.tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(4px, 0.8vw, 12px);
}
.tool {
  appearance: none;
  background: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 2px;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.tool:active {
  transform: scale(0.96);
}
@media (hover: hover) and (pointer: fine) {
  .tool:hover {
    background: rgba(29, 58, 51, 0.06);
  }
}
.tool .icon {
  width: 22px;
  height: 22px;
}
.tool-lang {
  font-family: var(--f-body);
  font-weight: 700;
  padding-inline: 10px;
}
.tool-account {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 7px;
  text-align: start;
  line-height: 1.15;
}
.tool-account .icon {
  grid-row: span 2;
  align-self: center;
}
.tool-account small {
  font-size: 0.68rem;
  color: var(--ink-3);
  font-weight: 500;
}
.bag-count {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.bag-count.is-bump {
  animation: bump 320ms var(--ease-out);
}
@keyframes bump {
  40% {
    transform: scale(1.25);
  }
}
.menu-toggle {
  display: none;
}
.hamburger {
  width: 22px;
  height: 14px;
  position: relative;
}
.hamburger span {
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--t-pop) var(--ease-out), top var(--t-pop) var(--ease-out), opacity var(--t-press);
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 6px;
}
.hamburger span:nth-child(3) {
  top: 12px;
}
.menu-toggle[aria-expanded='true'] .hamburger span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] .hamburger span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* mega panels */
.mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--paper-3);
  border-bottom: 1px solid var(--rule-2);
  box-shadow: 0 24px 40px -28px rgba(20, 44, 38, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-pop) var(--ease-out), transform var(--t-pop) var(--ease-out), visibility 0s linear var(--t-pop);
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mega-inner {
  padding-block: 30px 36px;
  display: grid;
  gap: 28px;
}
.mega-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mega-tile {
  display: grid;
  gap: 10px;
  text-decoration: none;
}
.mega-tile figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.mega-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mega-tile:hover img {
    transform: scale(1.04);
  }
}
.mega-tile strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.2rem;
}
.mega-tile span {
  font-size: 0.82rem;
  color: var(--ink-2);
}
.mega-stones {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 18px;
}
.mega-list {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}
.mega-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}
.mega-list li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.15rem;
  break-inside: avoid;
}
.mega-list li a span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  align-self: center;
}

/* ---------- buttons ---------- */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
  padding-inline: 8px 24px;
}
.btn-primary .btn-seal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(238, 240, 232, 0.1);
  box-shadow: inset 0 0 0 1px rgba(234, 216, 166, 0.45);
  transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease;
}
.btn-primary .btn-seal .icon {
  width: 21px;
  height: 21px;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--ink-deep);
  }
  .btn-primary:hover .btn-seal {
    transform: rotate(-8deg) scale(1.04);
    background: rgba(234, 216, 166, 0.16);
  }
  .btn-secondary:hover {
    background: rgba(29, 58, 51, 0.07);
  }
}
.btn-secondary .icon {
  width: 20px;
  height: 20px;
}
.btn-block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.is-loading {
  pointer-events: none;
}
.btn.is-loading .btn-text {
  filter: blur(2px);
  opacity: 0.6;
}
.btn .spinner {
  display: none;
}
.btn.is-loading .spinner {
  display: block;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  animation: spin 600ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.35em;
  transition: text-decoration-color var(--t-hover) ease, gap var(--t-hover) var(--ease-out);
}
.link-arrow .icon {
  width: 18px;
  height: 18px;
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover {
    text-decoration-color: currentColor;
  }
}
.icon-btn {
  appearance: none;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out), border-color var(--t-hover) ease;
}
.icon-btn:active {
  transform: scale(0.94);
}
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    border-color: var(--ink);
  }
}
.icon-btn .icon {
  width: 20px;
  height: 20px;
}
.icon-btn.is-ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- certificate sheet ---------- */
.sheet {
  position: relative;
  background: var(--paper-3);
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule-2);
  outline-offset: 6px;
  isolation: isolate;
}
.sheet-tab {
  position: absolute;
  top: -0.62em;
  inset-inline-end: 28px;
  z-index: 2;
  padding-inline: 10px;
  background: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.24;
  white-space: nowrap;
}
.sheet-tab.start {
  inset-inline-end: auto;
  inset-inline-start: 28px;
}
.guilloche {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.guilloche .g-base {
  stroke: var(--sage);
  opacity: 0.42;
}
.guilloche .g-foil {
  stroke: var(--foil);
  opacity: 0.5;
}
.guilloche .g-ink {
  stroke: var(--ink);
  opacity: 0.16;
}
.guilloche {
  --len: 1000;
}
[dir='rtl'] .guilloche {
  transform: scaleX(-1);
}
.engrave .g-draw {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: 0;
}
.header-start {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.fieldset-reset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .engrave.is-engraving .g-draw {
    animation: engrave 2.6s var(--ease-in-out) both;
  }
}
@keyframes engrave {
  from {
    stroke-dashoffset: var(--len, 4000);
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* fields: label ......... value */
.fields {
  margin: 0;
  display: grid;
  gap: 11px;
}
.field {
  display: grid;
  grid-template-columns: auto minmax(22px, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
}
.field::after {
  content: '';
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 0.42em;
  border-bottom: 1px dotted var(--rule-2);
}
.field dt {
  grid-column: 1;
  grid-row: 1;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.field dd {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: end;
  color: var(--ink);
}
.field dd .mono {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: none;
}
.fields.is-stacked .field {
  grid-template-columns: 1fr;
  row-gap: 2px;
}
.fields.is-stacked .field::after {
  display: none;
}
.fields.is-stacked .field dd {
  grid-column: 1;
  grid-row: 2;
  text-align: start;
}
.field-group + .field-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.field-group h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

/* seal: foil, the one material switch on the page */
.seal {
  --size: 132px;
  --sx: 50;
  --sy: 40;
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  /* the plate is a rendered hot-foil raster (src/make_seal.py); the element only seats it on the paper */
  background: var(--foil-dark);
  box-shadow:
    0 10px 18px -8px rgba(54, 40, 18, 0.55),
    0 0 0 6px var(--paper-3),
    0 0 0 7px var(--foil);
  flex: none;
  user-select: none;
}
.seal-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  -webkit-user-drag: none;
}
.seal-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    118deg,
    transparent 28%,
    rgba(255, 255, 255, 0.62) 42%,
    rgba(196, 236, 220, 0.42) 49%,
    rgba(255, 226, 241, 0.3) 54%,
    transparent 66%
  );
  background-size: 260% 260%;
  background-position: calc(var(--sx) * 1%) calc(var(--sy) * 1%);
  mix-blend-mode: soft-light;
  transition: background-position 260ms var(--ease-out);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  @media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
    .seal-sheen {
      animation: sheen-scroll linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes sheen-scroll {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}
.seal.is-stamping {
  animation: stamp 420ms var(--ease-out);
}
@keyframes stamp {
  0% {
    transform: scale(1.08) rotate(-6deg);
  }
  45% {
    transform: scale(0.95) rotate(1deg);
  }
  100% {
    transform: none;
  }
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(20px, 3vw, 34px) clamp(28px, 3.4vw, 44px);
}
.hero .sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: min(calc(100svh - var(--band-h) - var(--header-h) - 120px), 720px);
}
.window {
  position: relative;
  margin: clamp(18px, 2.2vw, 32px);
  margin-inline-end: 0;
  border: 1px solid var(--ink);
  padding: 8px;
  background: var(--paper-3);
  min-height: 0;
}
.window-label {
  position: absolute;
  top: -0.62em;
  inset-inline-start: 10px;
  z-index: 2;
  padding-inline: 8px;
  background: var(--paper-3);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.24;
}
.window-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper-2);
}
.window-media video,
.window-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.window .seal {
  position: absolute;
  inset-inline-end: calc(var(--size) / -2.4);
  bottom: 9%;
  z-index: 3;
}
.media-toggle {
  position: absolute;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(238, 240, 232, 0.55);
  background: rgba(20, 44, 38, 0.55);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.media-toggle:active {
  transform: scale(0.94);
}
.media-toggle .icon {
  width: 18px;
  height: 18px;
}
.report {
  position: relative;
  padding: clamp(28px, 3.4vw, 56px) clamp(22px, 4vw, 64px) clamp(24px, 3vw, 44px);
  padding-inline-start: clamp(40px, 6.6vw, 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 24px);
}
.report h1 {
  font-size: min(var(--fs-display), 10.2vh);
}
.report h1 a {
  text-decoration: none;
}
.report h1 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}
.report .fields {
  max-width: 560px;
  padding-block: 4px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.tel-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
  min-height: 44px;
}
.tel-line strong {
  color: var(--ink);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.tel-line:hover strong {
  text-decoration: underline;
}
.stone-row {
  margin-top: clamp(22px, 2.6vw, 34px);
  display: flex;
  align-items: center;
  gap: 10px 26px;
  flex-wrap: wrap;
}
.stone-row > .label {
  margin-inline-end: 6px;
}
.stone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.dot {
  --c: var(--ink);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.55), transparent 42%), var(--c);
  box-shadow: inset 0 0 0 1px rgba(20, 44, 38, 0.35);
  flex: none;
}
.dot.is-multi {
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.5), transparent 40%), conic-gradient(#213e8c, #0e6a4a, #d59e26, #9c1c33, #c9688c, #213e8c);
}
.stone-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.stamp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule-2);
  outline-offset: 3px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.stamp .icon {
  width: 26px;
  height: 26px;
}

/* ---------- collections: horizontal accordion ---------- */
.slices {
  display: flex;
  gap: 10px;
  height: clamp(440px, 64vh, 640px);
}
.slice {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: var(--on-ink);
  text-decoration: none;
  background: var(--ink-deep);
  transition: flex-grow 480ms var(--ease-in-out);
  border: 1px solid var(--ink);
}
.slice.is-open {
  flex-grow: 3.6;
}
.slice img,
.slice video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), opacity 400ms ease;
}
.slice::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 30, 26, 0) 38%, rgba(14, 30, 26, 0.82) 100%);
}
.slice-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(18px, 2vw, 30px);
  display: grid;
  gap: 10px;
}
.slice-name {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem);
  line-height: 1.08;
  transition: font-size 500ms var(--ease-in-out);
}
.slice.is-open .slice-name {
  font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem);
}
.slice-more {
  display: grid;
  gap: 12px;
  max-width: 44ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 360ms var(--ease-out);
}
.slice.is-open .slice-more {
  opacity: 1;
  transform: none;
  transition-delay: 220ms;
}
.slice-more p {
  font-size: 0.98rem;
  color: rgba(238, 240, 232, 0.9);
}
/* series reference hangs from the slice's top rule like a file tab */
.slice-tab {
  position: absolute;
  top: 0;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 3px 8px 4px;
  background: var(--paper-3);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}
.slice-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.slice-cta .icon {
  width: 18px;
  height: 18px;
}

/* ---------- product cards ---------- */
.grid {
  display: grid;
  gap: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 26px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
}
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--well);
  overflow: hidden;
  outline: 1px solid var(--rule);
  outline-offset: -1px;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: opacity 420ms ease, transform 700ms var(--ease-out);
}
.card-media img.is-cover {
  object-fit: cover;
  padding: 0;
}
.card-media .img-alt {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-media .img-alt {
    opacity: 1;
  }
  .card:hover .card-media .img-main.has-alt {
    opacity: 0;
  }
  .card:hover .card-media img:only-of-type {
    transform: scale(1.035);
  }
}
.card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: start;
}
.card-title {
  font-family: var(--f-display);
  font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.18rem);
  line-height: 1.22;
}
.card-title a {
  text-decoration: none;
}
.card-title a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-meta {
  grid-column: 1;
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.card-price {
  grid-column: 1;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.card-price.is-por {
  color: var(--ink-2);
  font-weight: 500;
}
.card-act {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  z-index: 2;
  align-self: start;
}
.card-act .icon-btn {
  width: 40px;
  height: 40px;
}
.card-flags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 2px;
  border: 1px solid var(--rule-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: 2px;
}
.flag.is-best {
  border-color: var(--foil);
  color: var(--foil-dark);
}
.flag.is-best::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--foil);
  transform: rotate(45deg);
}
.card-stones {
  grid-column: 1 / -1;
  display: flex;
  gap: 5px;
  margin-top: 2px;
}
.card-stones .dot {
  width: 12px;
  height: 12px;
}

/* editorial tile inside grids */
.tile {
  position: relative;
  grid-column: span 2;
  min-height: 100%;
  border: 1px solid var(--ink);
  overflow: hidden;
  color: var(--on-ink);
  background: var(--ink-deep);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  isolation: isolate;
}
.tile video,
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 30, 26, 0) 40%, rgba(14, 30, 26, 0.78));
}
.tile-body {
  padding: clamp(20px, 2.4vw, 34px);
  display: grid;
  gap: 10px;
  max-width: 46ch;
}
.tile-body h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
}

/* ---------- stone studio (home) ---------- */
.studio {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.studio-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.studio-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}
.studio-copy h2 {
  font-size: var(--fs-h2);
}
/* the piece sits in a double-ruled report window, like the hero reel */
.studio-stage {
  position: relative;
  aspect-ratio: 6 / 5;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule-2);
  outline-offset: -7px;
  background: var(--paper-3);
}
.studio-piece {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.studio-piece img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 320ms ease, filter 320ms ease, transform 520ms var(--ease-out);
}
.studio-piece img.is-leaving {
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.97);
}
.studio-piece img.is-entering {
  opacity: 0;
  filter: blur(4px);
  transform: scale(1.02);
}
.studio-side {
  display: grid;
  gap: 22px;
  align-content: center;
}

/* stone swatches (PDP + studio) */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}
.swatch {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 64px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}
.swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.swatch .dot {
  width: 44px;
  height: 44px;
  transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-hover) ease;
  box-shadow: inset 0 0 0 1px rgba(20, 44, 38, 0.35), 0 0 0 4px var(--paper), 0 0 0 5px transparent;
}
.swatch:active .dot {
  transform: scale(0.93);
}
.swatch .dot {
  position: relative;
}
.swatch input:checked + .dot {
  box-shadow:
    inset 0 0 0 1px rgba(20, 44, 38, 0.35),
    0 0 0 3px var(--paper),
    0 0 0 4px var(--ink),
    0 0 0 6px var(--paper),
    0 0 0 7px var(--foil);
}
.swatch input:checked + .dot::after {
  content: '';
  position: absolute;
  top: -9px;
  inset-inline-end: -9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: url('../img/brand/seal-tick.webp') center / 100% no-repeat;
  box-shadow: 0 0 0 2px var(--paper), 0 3px 5px -2px rgba(54, 40, 18, 0.5);
}
.swatch input:checked ~ .swatch-name {
  color: var(--ink);
  font-weight: 700;
}
.swatch input:focus-visible + .dot {
  outline: 2px solid var(--ink);
  outline-offset: 7px;
}
.swatch.is-stamped .dot {
  animation: swatch-stamp 380ms var(--ease-out);
}
@keyframes swatch-stamp {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: none;
  }
}
.swatch.is-metal .dot {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), transparent 45%, rgba(0, 0, 0, 0.08)), var(--c);
}

/* ---------- reels ---------- */
.reels {
  position: relative;
}
.reel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 21vw, 290px);
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  padding-block-end: 10px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.reel {
  scroll-snap-align: start;
  display: grid;
  gap: 12px;
  align-content: start;
}
.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink-deep);
  border: 1px solid var(--ink);
}
.reel-frame video,
.reel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-frame .media-toggle {
  inset-inline-start: auto;
  inset-inline-end: 12px;
  bottom: 12px;
}
.reel-ig {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
.reel-ig .icon {
  width: 16px;
  height: 16px;
}
.reel-shop {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.reel-shop img {
  width: 52px;
  height: 64px;
  object-fit: contain;
  background: var(--well);
  outline: 1px solid var(--rule);
}
.reel-shop strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.22;
}
.reel-shop span {
  font-size: 0.8rem;
  color: var(--ink-2);
}
.reel-shop:hover strong {
  text-decoration: underline;
}
.track-nav {
  display: flex;
  gap: 10px;
}

/* ---------- personalise ---------- */
.engrave-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.name-stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--ink);
  background: var(--paper-3);
  overflow: hidden;
}
.name-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.name-stage .chain {
  fill: none;
  stroke: url(#goldLine);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.name-stage .chain-links {
  fill: none;
  stroke: #a9843f;
  stroke-width: 1.1;
  stroke-dasharray: 1.2 4.2;
  stroke-linecap: round;
  opacity: 0.8;
}
.name-text {
  font-size: 112px;
  paint-order: stroke;
  stroke: #6c4f20;
  stroke-width: 1.2px;
  filter: url(#goldShadow);
  transition: opacity 200ms ease;
}
.name-stage .ref-photo {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 14px;
  width: 26%;
  border: 1px solid var(--ink);
  background: var(--well);
  padding: 4px;
}
.name-stage .ref-photo span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 2px 0;
  color: var(--ink-2);
}
.engrave-form {
  display: grid;
  gap: 22px;
}
.engrave-form h2 {
  font-size: var(--fs-h2);
}
.name-arabic {
  font-family: 'Ruwudu', 'Amiri', serif;
}

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.field-input {
  display: grid;
  gap: 7px;
}
.field-input > label,
.field-input > .field-legend {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.field-input .opt {
  font-weight: 500;
  color: var(--ink-3);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  background: var(--paper-3);
  color: var(--ink);
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, background-color var(--t-hover) ease;
}
.textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--ink-3);
  opacity: 1;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 58, 51, 0.14);
  background: #fbfcf8;
}
.input-prefix {
  display: grid;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  background: var(--paper-3);
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.input-prefix:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 58, 51, 0.14);
}
.input-prefix span {
  display: grid;
  place-items: center;
  padding-inline: 12px;
  border-inline-end: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.input-prefix .input {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.help {
  font-size: 0.8rem;
  color: var(--ink-3);
  line-height: 1.45;
}
.error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--alert);
}
.is-invalid .error {
  display: flex;
}
.is-invalid .input,
.is-invalid .input-prefix,
.is-invalid .textarea {
  border-color: var(--alert);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  background: var(--paper-3);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip:active {
  transform: scale(0.97);
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.chip[disabled],
.chip.is-disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  min-height: 44px;
  padding-block: 10px;
}
.checkbox input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper-3);
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
}
.checkbox input::after {
  content: '';
  width: 10px;
  height: 6px;
  border-inline-start: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
[dir='rtl'] .checkbox input::after {
  transform: rotate(45deg) translate(-1px, -1px);
}
.checkbox input:checked {
  background: var(--ink);
}
.checkbox input:checked::after {
  opacity: 1;
}
.counter {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  text-align: end;
}

/* ---------- viewing (full bleed) ---------- */
.viewing {
  position: relative;
  min-height: clamp(560px, 86svh, 860px);
  display: grid;
  align-items: end;
  color: var(--on-ink);
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--ink);
}
.viewing > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.viewing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(14, 30, 26, 0.86) 0%, rgba(14, 30, 26, 0.38) 42%, rgba(14, 30, 26, 0.05) 70%),
    linear-gradient(90deg, rgba(14, 30, 26, 0.5), transparent 60%);
}
[dir='rtl'] .viewing::before {
  background:
    linear-gradient(0deg, rgba(14, 30, 26, 0.86) 0%, rgba(14, 30, 26, 0.38) 42%, rgba(14, 30, 26, 0.05) 70%),
    linear-gradient(270deg, rgba(14, 30, 26, 0.5), transparent 60%);
}
.viewing-inner {
  padding-block: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.viewing h2 {
  font-size: clamp(2.4rem, 1.3rem + 3.8vw, 5rem);
}
.viewing h2 em {
  font-family: 'Aref Ruqaa', var(--f-display);
  font-style: normal;
  color: var(--foil-light);
}
.viewing p {
  max-width: 46ch;
  font-size: 1.08rem;
  color: rgba(238, 240, 232, 0.9);
  margin-top: 18px;
}
.viewing .cta-row {
  margin-top: 30px;
}
.viewing .btn-primary {
  background: var(--paper-3);
  color: var(--ink);
}
.viewing .btn-primary .btn-seal {
  background: rgba(29, 58, 51, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .viewing .btn-primary:hover {
    background: #fff;
  }
}
.viewing .btn-secondary {
  color: var(--on-ink);
  border-color: rgba(238, 240, 232, 0.7);
}
@media (hover: hover) and (pointer: fine) {
  .viewing .btn-secondary:hover {
    background: rgba(238, 240, 232, 0.1);
  }
}
.viewing-card {
  background: var(--paper-3);
  color: var(--ink);
  padding: 26px 26px 22px;
  border: 1px solid var(--ink);
  outline: 1px solid rgba(238, 240, 232, 0.5);
  outline-offset: 6px;
  position: relative;
}
.viewing-card .sheet-tab {
  background: var(--paper-3);
  outline: 1px solid var(--paper-3);
}

/* ---------- spotted + reviews ---------- */
.voices {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}
.spotted {
  display: grid;
  gap: 14px;
}
.spotted .reel-frame {
  aspect-ratio: 4 / 5;
}
.spotted figcaption {
  font-size: 0.92rem;
  color: var(--ink-2);
}
.spotted figcaption strong {
  color: var(--ink);
  font-weight: 700;
}
.quotes {
  display: grid;
  gap: 26px;
}
.quote-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}
.portraits {
  position: relative;
  width: clamp(150px, 15vw, 210px);
  aspect-ratio: 3 / 4;
}
.portraits figure {
  position: absolute;
  margin: 0;
  inset: 0;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 6px;
  transition: transform 520ms var(--ease-out), opacity 320ms ease;
  box-shadow: 0 16px 28px -18px rgba(20, 44, 38, 0.55);
}
.portraits figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portraits figure:nth-child(1) {
  transform: rotate(-5deg) translate(-14%, 4%);
}
.portraits figure:nth-child(2) {
  transform: rotate(3deg) translate(8%, -2%);
}
.portraits figure:nth-child(3) {
  transform: rotate(0deg) translate(0, 0);
}
.portraits figure.is-front {
  z-index: 3;
  transform: none;
}
blockquote.quote {
  margin: 0;
  display: grid;
  gap: 18px;
}
.quote p {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.3rem);
  line-height: 1.3;
  text-wrap: balance;
}
.quote footer {
  font-size: 0.9rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.quote footer strong {
  color: var(--ink);
}
.quote-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-count {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  min-width: 52px;
  text-align: center;
}
.quote-fade {
  transition: opacity 260ms ease, filter 260ms ease, transform 360ms var(--ease-out);
}
.quote-fade.is-swapping {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(6px);
}

/* ---------- story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}
.story-grid h2 {
  font-size: var(--fs-h2);
  margin-bottom: 26px;
}
.scrub {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 1.05rem + 1.05vw, 2rem);
  line-height: 1.38;
  color: var(--ink);
}
.scrub .w {
  transition: opacity 200ms linear;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scrub .w {
      animation: word-ink linear both;
      animation-timeline: view();
      animation-range: entry 20% cover calc(30% + var(--wi, 0) * 0.6%);
    }
  }
}
@keyframes word-ink {
  from {
    opacity: 0.28;
  }
  to {
    opacity: 1;
  }
}
.story-media {
  position: relative;
}
.story-media .reel-frame {
  aspect-ratio: 4 / 5;
}
.reveal-scale {
  transform-origin: 50% 60%;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal-scale {
      animation: scale-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}
@keyframes scale-in {
  from {
    transform: scale(0.93);
    filter: saturate(0.8) brightness(0.92);
  }
  to {
    transform: none;
    filter: none;
  }
}
.story-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  margin-top: 0;
  isolation: isolate;
}
.club {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule-2);
}
.club h2 {
  font-size: var(--fs-h2);
}
.club p {
  color: var(--ink-2);
  margin-top: 14px;
  max-width: 44ch;
}
.club-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}
.club-form .field-input {
  grid-column: 1;
}
.club-form .btn {
  margin-top: 29px;
}
.club-form .help {
  grid-column: 1 / -1;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-block: 52px 46px;
}
.foot-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}
.foot-brand img {
  width: 170px;
}
.foot-brand p {
  font-size: 0.92rem;
  color: var(--ink-2);
  max-width: 34ch;
}
.foot-col h3 {
  font-family: var(--f-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.foot-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  text-decoration: none;
  font-size: 0.95rem;
}
.foot-col a:hover {
  text-decoration: underline;
}
.foot-col .icon {
  width: 18px;
  height: 18px;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
  padding-block: 20px 26px;
  /* keeps the credit clear of the fixed WhatsApp button */
  padding-inline-end: 84px;
  border-top: 1px solid var(--rule-2);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.foot-bottom a {
  color: var(--ink);
}
.credit {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.credit a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
}
.credit a:hover {
  text-decoration-color: currentColor;
}
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pay {
  height: 26px;
  padding: 0 9px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.foot-rule {
  height: 22px;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  white-space: nowrap;
  line-height: 22px;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  z-index: var(--z-float);
  inset-inline-end: clamp(14px, 2vw, 24px);
  bottom: calc(clamp(14px, 2vw, 24px) + env(safe-area-inset-bottom, 0px));
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(234, 216, 166, 0.5) inset, 0 12px 22px -10px rgba(20, 44, 38, 0.7);
  transition: transform var(--t-press) var(--ease-out), opacity var(--t-hover) ease;
}
.wa-float:active {
  transform: scale(0.94);
}
.wa-float .icon {
  width: 24px;
  height: 24px;
}

/* ---------- dialogs: drawers and sheets ---------- */
dialog.panel {
  --w: min(460px, 100vw);
  position: fixed;
  inset: 0;
  inset-inline-start: auto;
  width: var(--w);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-start: 1px solid var(--ink);
  background: var(--paper-3);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(var(--off, 100%));
  transition: transform var(--t-sheet) var(--ease-drawer), overlay var(--t-sheet) allow-discrete, display var(--t-sheet) allow-discrete;
}
[dir='rtl'] dialog.panel {
  --off: -100%;
}
dialog.panel:not([open]) {
  display: none;
}
dialog.panel[open] {
  transform: none;
}
@starting-style {
  dialog.panel[open] {
    transform: translateX(var(--off, 100%));
  }
}
dialog.panel.is-closing {
  transform: translateX(var(--off, 100%));
  transition-duration: 280ms;
  transition-timing-function: var(--ease-out);
}
dialog.panel::backdrop {
  background: rgba(14, 30, 26, 0.42);
  opacity: 0;
  transition: opacity var(--t-sheet) ease, overlay var(--t-sheet) allow-discrete, display var(--t-sheet) allow-discrete;
}
dialog.panel[open]::backdrop {
  opacity: 1;
}
@starting-style {
  dialog.panel[open]::backdrop {
    opacity: 0;
  }
}
dialog.panel.is-closing::backdrop {
  opacity: 0;
}
dialog.panel.from-start {
  inset-inline-start: 0;
  inset-inline-end: auto;
  border-inline-start: 0;
  border-inline-end: 1px solid var(--ink);
  --off: -100%;
}
[dir='rtl'] dialog.panel.from-start {
  --off: 100%;
}
dialog.panel.is-top {
  inset: 0 0 auto 0;
  width: 100vw;
  height: auto;
  max-height: min(86dvh, 760px);
  border: 0;
  border-bottom: 1px solid var(--ink);
  --off: 0;
  transform: translateY(var(--offy, -100%));
}
dialog.panel.is-top[open] {
  transform: none;
}
@starting-style {
  dialog.panel.is-top[open] {
    transform: translateY(-100%);
  }
}
dialog.panel.is-top.is-closing {
  transform: translateY(-100%);
}
.panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--rule-2);
  flex: none;
}
.panel-head h2 {
  font-size: 1.6rem;
}
.panel-head p {
  font-size: 0.86rem;
  color: var(--ink-2);
  margin-top: 4px;
}
.drag-handle {
  display: none;
}
.panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 20px 28px;
}
.panel-foot {
  flex: none;
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule-2);
  background: var(--paper-3);
  display: grid;
  gap: 12px;
}
.close-btn {
  appearance: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
  flex: none;
}
.close-btn:active {
  transform: scale(0.92);
}
@media (hover: hover) and (pointer: fine) {
  .close-btn:hover {
    background: rgba(29, 58, 51, 0.08);
  }
}
.close-btn .icon {
  width: 22px;
  height: 22px;
}

/* bag */
.bag-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.bag-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.bag-item img {
  width: 82px;
  height: 102px;
  object-fit: contain;
  background: var(--well);
  outline: 1px solid var(--rule);
  padding: 4px;
}
.bag-item h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}
.bag-item .meta {
  font-size: 0.8rem;
  color: var(--ink-2);
  margin-top: 4px;
  display: grid;
  gap: 2px;
}
.bag-item .price {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  margin-top: 10px;
}
.qty button {
  appearance: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.qty button .icon {
  width: 16px;
  height: 16px;
}
.qty output {
  min-width: 28px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}
.link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.link-btn:hover {
  color: var(--ink);
}
.bag-extras {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}
.gift-box {
  border: 1px solid var(--rule-2);
  padding: 4px 16px 14px;
  background: var(--paper);
}
.gift-box .gift-fields {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}
.totals {
  display: grid;
  gap: 8px;
}
.totals .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}
.totals .row.is-total {
  font-weight: 700;
  font-size: 1.05rem;
}
.empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 8px;
}
.empty-state .stamp {
  width: 74px;
  height: 74px;
}
.empty-state h3 {
  font-size: 1.5rem;
}
.empty-state p {
  color: var(--ink-2);
  max-width: 34ch;
}
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  font-size: 0.88rem;
  line-height: 1.5;
}
.callout .icon {
  margin-top: 2px;
  color: var(--foil-dark);
}
.callout a {
  font-weight: 700;
}

/* success state inside forms */
.success {
  display: grid;
  justify-items: start;
  gap: 16px;
}
.success .seal {
  --size: 104px;
}
.success h3 {
  font-size: 1.8rem;
}
.success p {
  color: var(--ink-2);
}

/* search */
.search-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-block: 6px;
}
.search-bar input {
  border: 0;
  background: none;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem);
  padding: 10px 0;
  min-width: 0;
}
.search-bar input:focus {
  outline: none;
}
.search-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding-top: 26px;
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}
.search-results a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.search-results img {
  width: 64px;
  height: 78px;
  object-fit: contain;
  background: var(--well);
  outline: 1px solid var(--rule);
  padding: 3px;
}
.search-results strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.2;
}
.search-results span {
  font-size: 0.8rem;
  color: var(--ink-2);
}
.search-results mark {
  background: rgba(184, 147, 80, 0.3);
  color: inherit;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* mobile menu */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.menu-list > li > a,
.menu-list > li > button {
  appearance: none;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-decoration: none;
  cursor: pointer;
  text-align: start;
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] .menu-list > li {
    animation: rise 420ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 45ms + 120ms);
  }
}
@keyframes rise {
  from {
    opacity: 0.001;
    transform: translateY(14px);
  }
}
.menu-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 18px 8px;
}
.menu-cols a {
  display: grid;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.menu-cols img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.menu-contact {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

/* toaster */
.toaster {
  position: fixed;
  inset: auto;
  inset-inline-end: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  list-style: none;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toaster:popover-open {
  display: grid;
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 14px 14px 16px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(234, 216, 166, 0.35) inset, 0 18px 30px -14px rgba(14, 30, 26, 0.65);
  transition: transform 400ms ease, opacity 400ms ease;
  touch-action: pan-y;
}
@starting-style {
  .toast {
    opacity: 0;
    transform: translateY(100%);
  }
}
.toast.is-leaving {
  opacity: 0;
  transform: translateY(60%);
  transition-duration: 220ms;
}
.toast .icon {
  width: 22px;
  height: 22px;
  color: var(--foil-light);
}
.toast strong {
  display: block;
  font-size: 0.95rem;
}
.toast span {
  display: block;
  font-size: 0.82rem;
  color: rgba(238, 240, 232, 0.78);
  margin-top: 2px;
}
.toast button {
  appearance: none;
  background: none;
  border: 1px solid rgba(238, 240, 232, 0.4);
  color: var(--on-ink);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--ink-2);
  padding-block: 18px 0;
  list-style: none;
  margin: 0;
  padding-inline: 0;
}
.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.crumbs li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--ink-3);
  border-inline-end: 1px solid var(--ink-3);
  transform: rotate(45deg);
}
[dir='rtl'] .crumbs li + li::before {
  transform: rotate(-135deg);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs [aria-current] {
  color: var(--ink);
}

/* ---------- collection page ---------- */
.col-head {
  padding-block: 26px clamp(36px, 4vw, 56px);
}
.col-head .sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.col-head .report {
  padding-inline-start: clamp(22px, 4vw, 64px);
}
.col-head h1 {
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4.4rem);
}
.col-head .window {
  margin: clamp(18px, 2.2vw, 30px);
  margin-inline-start: 0;
  min-height: 320px;
}
.col-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.col-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease;
}
.col-switch a[aria-current='page'] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .col-switch a:not([aria-current='page']):hover {
    border-color: var(--ink);
  }
}
.shop {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding-bottom: var(--section);
}
.filters {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 4px;
}
.filter-group {
  border-bottom: 1px solid var(--rule);
}
.filter-group summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 44px;
}
.filter-group summary::-webkit-details-marker {
  display: none;
}
.filter-group summary .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--t-hover) var(--ease-out);
}
.filter-group[open] summary .icon {
  transform: rotate(45deg);
}
.filter-body {
  padding-bottom: 14px;
  display: grid;
  gap: 2px;
}
.filter-body .checkbox {
  min-height: 40px;
  padding-block: 8px;
  font-size: 0.92rem;
}
.filter-body .checkbox .count {
  margin-inline-start: auto;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}
.filter-stones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 10px;
}
.filter-stones .checkbox .dot {
  width: 16px;
  height: 16px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--rule-2);
}
.toolbar .count {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.toolbar .count strong {
  color: var(--ink);
}
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}
.sort .select {
  min-height: 44px;
  width: auto;
  padding-block: 8px;
  padding-inline: 12px 34px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
[dir='rtl'] .sort .select {
  padding-inline: 34px 12px;
  background-position: 13px 50%, 18px 50%;
}
.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 24px;
}
.active-chips:empty {
  display: none;
}
.active-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper-3);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}
.active-chip .icon {
  width: 14px;
  height: 14px;
}
.filters-toggle {
  display: none;
}
.load-more {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 52px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.progress {
  width: 200px;
  height: 2px;
  background: var(--rule);
  position: relative;
}
.progress span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  background: var(--ink);
}

/* ---------- product page ---------- */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding-top: 18px;
  padding-bottom: clamp(56px, 7vw, 100px);
}
.gallery {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}
.thumbs {
  display: grid;
  gap: 10px;
  align-content: start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.thumbs button {
  appearance: none;
  width: 74px;
  aspect-ratio: 4 / 5;
  padding: 3px;
  border: 1px solid var(--rule);
  background: var(--well);
  cursor: pointer;
  transition: border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.thumbs button:active {
  transform: scale(0.95);
}
.thumbs button[aria-current='true'] {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbs .is-video {
  position: relative;
  background: var(--ink-deep);
}
.thumbs .is-video img {
  object-fit: cover;
}
.thumbs .is-video::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 14px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(1px);
}
.stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--well);
  border: 1px solid var(--rule-2);
  overflow: hidden;
}
.stage-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.stage-track::-webkit-scrollbar {
  display: none;
}
.stage-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  position: relative;
}
.stage-slide img,
.stage-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: opacity 260ms ease, filter 260ms ease;
}
.stage-slide img.is-cover,
.stage-slide video {
  object-fit: cover;
  padding: 0;
}
.stage.is-swapping .stage-slide img {
  opacity: 0;
  filter: blur(4px);
}
.stage-count {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(245, 246, 241, 0.86);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  display: none;
}
.stage-zoom {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  z-index: 2;
}
/* hallmark plate straddles the stage's outer edge, like the hero window */
.stage-seal {
  --size: 96px;
  position: absolute;
  inset-inline-end: calc(var(--size) / -2.6);
  bottom: 9%;
  z-index: 3;
}
.pdp-info {
  display: grid;
  gap: 24px;
}
.pdp-head {
  display: grid;
  gap: 10px;
}
.pdp-head h1 {
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.3rem);
}
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 1.15rem;
  font-weight: 500;
}
.pdp-price .por {
  font-family: var(--f-display);
  font-size: 1.3rem;
}
.pdp-price small {
  font-size: 0.82rem;
  color: var(--ink-2);
  font-weight: 500;
}
.opt-block {
  display: grid;
  gap: 14px;
}
.opt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.opt-head .label strong {
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.9rem;
  margin-inline-start: 6px;
}
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sizes .chip {
  min-width: 52px;
  justify-content: center;
  padding: 0 12px;
  font-variant-numeric: tabular-nums;
}
.unsure {
  border: 1px solid var(--rule-2);
  background: var(--paper);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}
.unsure ol {
  margin: 0;
  padding-inline-start: 1.2em;
  display: grid;
  gap: 6px;
  color: var(--ink-2);
}
.action-box {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule-2);
  outline-offset: 5px;
  background: var(--paper-3);
  position: relative;
}
.action-box .sheet-tab {
  background: var(--paper);
}
.action-note {
  font-size: 0.84rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
}
.trust-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--rule);
}
.trust-lines a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 0.93rem;
}
.trust-lines a > .icon:first-child {
  width: 22px;
  height: 22px;
  color: var(--ink);
}
.trust-lines a > .icon:last-child {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}
@media (hover: hover) and (pointer: fine) {
  .trust-lines a:hover {
    background: rgba(29, 58, 51, 0.04);
  }
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.share-row a,
.share-row button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.3em;
  cursor: pointer;
}
.share-row .icon {
  width: 20px;
  height: 20px;
}
.acc {
  border-top: 1px solid var(--rule-2);
}
.acc details {
  border-bottom: 1px solid var(--rule-2);
}
.acc summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.15rem;
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc summary .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--t-hover) var(--ease-out);
}
.acc details[open] summary .icon {
  transform: rotate(45deg);
}
.acc .acc-body {
  padding: 0 0 20px;
  font-size: 0.96rem;
  color: var(--ink-2);
  display: grid;
  gap: 12px;
  max-width: 62ch;
}
.acc .acc-body a {
  color: var(--ink);
  font-weight: 700;
}
.spec-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sticky-buy {
  display: none;
}
.related {
  padding-block: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--rule-2);
}
.related + .related {
  border-top: 0;
  padding-top: 0;
}
.cert-teaser {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
}
.cert-teaser h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem);
}
.cert-teaser p {
  color: var(--ink-2);
  margin-top: 10px;
  max-width: 52ch;
}
.qr {
  width: 120px;
  height: 120px;
  padding: 8px;
  background: var(--paper-3);
  border: 1px solid var(--ink);
}
.qr svg {
  width: 100%;
  height: 100%;
}

/* reviews (product) */
.reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 30px;
}
.review-wall {
  columns: 3 260px;
  column-gap: 22px;
}
.review {
  break-inside: avoid;
  margin: 0 0 22px;
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.review img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.review p {
  font-size: 0.98rem;
  line-height: 1.55;
}
.review footer {
  font-size: 0.82rem;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--foil-dark);
}
.stars .icon {
  width: 15px;
  height: 15px;
}

/* ---------- certificate page ---------- */
.cert-wrap {
  padding-block: 26px clamp(56px, 7vw, 110px);
}
.cert-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.certificate {
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(26px, 5vw, 70px);
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  overflow: hidden;
}
.cert-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 26px;
}
.cert-top img {
  width: 180px;
}
.cert-top h1 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem);
  margin-top: 16px;
}
.cert-id {
  text-align: end;
  display: grid;
  gap: 4px;
}
.cert-id .mono {
  font-size: 0.72rem;
  color: var(--ink-2);
}
.cert-id strong {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}
.cert-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.cert-photo {
  position: relative;
  border: 1px solid var(--ink);
  padding: 8px;
  background: var(--well);
}
.cert-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}
.cert-photo .seal {
  position: absolute;
  inset-inline-end: -26px;
  bottom: -26px;
}
.cert-foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}
.cert-sign {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.cert-sign .sig {
  font-family: 'Aref Ruqaa', var(--f-display);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
}
.verify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--paper);
}
.verify .icon {
  width: 20px;
  height: 20px;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-2);
}
.care-grid > div {
  padding: 26px 26px 26px 0;
  border-bottom: 1px solid var(--rule);
}
.care-grid > div + div {
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--rule);
}
.care-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.care-grid p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- contact / services ---------- */
.page-head {
  padding-block: 26px clamp(30px, 4vw, 50px);
}
.page-head h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.6rem);
  margin-top: 18px;
}
.page-head .lede {
  margin-top: 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-bottom: var(--section);
}
.contact-card {
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 24px;
}
.contact-card h2 {
  font-size: var(--fs-h3);
}
.map-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--ink);
  overflow: hidden;
  background: var(--paper-2);
}
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-card .map-pin {
  position: absolute;
  inset-inline-start: 18px;
  bottom: 18px;
  background: var(--paper-3);
  border: 1px solid var(--ink);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  max-width: 78%;
}
.map-card .map-pin strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.12rem;
}
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule-2);
}
.tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 16px;
  min-height: 48px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-2);
  cursor: pointer;
}
.tab[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.svc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-bottom: var(--section);
}
.svc-nav {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.svc-nav a:hover,
.svc-nav a.is-active {
  color: var(--ink);
  font-weight: 700;
}
.svc-section {
  padding-block: 8px 44px;
  display: grid;
  gap: 18px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.svc-section + .svc-section {
  border-top: 1px solid var(--rule-2);
  padding-top: 40px;
}
.svc-section h2 {
  font-size: var(--fs-h3);
}
.svc-section > p {
  color: var(--ink-2);
  max-width: 64ch;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.size-table caption {
  text-align: start;
  font-size: 0.82rem;
  color: var(--ink-2);
  padding-bottom: 10px;
}
.size-table th,
.size-table td {
  padding: 10px 12px;
  text-align: start;
  border-bottom: 1px solid var(--rule);
}
.size-table thead th {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--ink);
}
.size-table tbody tr:hover {
  background: rgba(29, 58, 51, 0.04);
}
.steps {
  counter-reset: s;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink-2);
}
.steps li::before {
  content: counter(s);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  color: var(--ink);
}
.steps strong {
  color: var(--ink);
}

/* ---------- 404 helper ---------- */
.not-found {
  padding-block: var(--section);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

/* =========================================================================
   Arabic RTL
   ========================================================================= */
:root[lang='ar'] {
  --lh-body: 1.92;
  --lh-head: 1.36;
}
:root[lang='ar'] body,
:root[lang='ar'] * {
  letter-spacing: 0 !important;
}
/* JEWELS under the wordmark is Latin lockup tracking, not Arabic text */
:root[lang='ar'] .brand-sub {
  letter-spacing: 0.62em !important;
}
:root[lang='ar'] h1,
:root[lang='ar'] h2,
:root[lang='ar'] h3,
:root[lang='ar'] .quote p,
:root[lang='ar'] .scrub,
:root[lang='ar'] .slice-name,
:root[lang='ar'] .card-title,
:root[lang='ar'] .mega-tile strong {
  line-height: var(--lh-head);
}
:root[lang='ar'] .label,
:root[lang='ar'] .field dt,
:root[lang='ar'] .flag,
:root[lang='ar'] .foot-col h3,
:root[lang='ar'] .filter-group summary,
:root[lang='ar'] .size-table thead th {
  font-size: 0.82rem;
  font-weight: 700;
}
:root[lang='ar'] .band-seq,
:root[lang='ar'] .sheet-tab,
:root[lang='ar'] .window-label,
:root[lang='ar'] .slice-tab,
:root[lang='ar'] .mono {
  font-family: var(--f-body);
}
:root[lang='ar'] .band-seq {
  font-size: 0.78rem;
}
:root[lang='ar'] .report h1 {
  font-size: min(calc(var(--fs-display) * 0.94), 10vh);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .nav,
  .tool-contact,
  .tool-account small {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .studio-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .studio-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }
  .hero .sheet,
  .col-head .sheet {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .window {
    margin: 18px;
    margin-bottom: 0;
    aspect-ratio: 1 / 1.02;
  }
  .col-head .window {
    margin: 18px;
    margin-top: 0;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .window .seal {
    --size: 104px;
    inset-inline-end: 14px;
    bottom: -40px;
  }
  .report {
    padding: 36px 22px 26px;
  }
  .hero .report {
    padding-top: 54px;
  }
  .report h1 {
    font-size: clamp(2.5rem, 1.4rem + 5vw, 3.6rem);
  }
  .hero .report .fields {
    order: 3;
  }
  .hero .report .cta-row {
    order: 2;
  }
  .hero .report .link-arrow {
    order: 4;
  }
  .slices {
    flex-direction: column;
    height: auto;
  }
  .slice,
  .slice.is-open {
    flex: none;
    height: 300px;
  }
  .slice .slice-more {
    opacity: 1;
    transform: none;
  }
  .slice .slice-name,
  .slice.is-open .slice-name {
    font-size: 1.9rem;
  }
  .grid,
  .grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-inner {
    grid-template-columns: 1fr;
  }
  .studio-stage {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
  }
  .engrave-split,
  .voices,
  .story-grid,
  .viewing-inner,
  .club,
  .contact-grid,
  .cert-body {
    grid-template-columns: 1fr;
  }
  .viewing-card {
    max-width: 520px;
  }
  .shop {
    grid-template-columns: 1fr;
  }
  .filters {
    display: none;
  }
  .filters-toggle {
    display: inline-flex;
  }
  .pdp {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }
  .gallery {
    position: relative;
    top: 0;
    grid-template-columns: 1fr;
    margin-inline: calc(var(--gutter) * -1);
  }
  .thumbs {
    display: none;
  }
  .stage {
    border-inline: 0;
  }
  .stage-count {
    display: block;
  }
  .stage-seal {
    --size: 68px;
    inset-inline-end: auto;
    inset-inline-start: 16px;
    bottom: 16px;
  }
  .sticky-buy {
    position: fixed;
    z-index: var(--z-sticky);
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper-3) 96%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--ink);
    transform: translateY(110%);
    transition: transform var(--t-sheet) var(--ease-drawer);
  }
  .sticky-buy.is-shown {
    transform: none;
  }
  .sticky-buy .btn {
    min-height: 50px;
  }
  body.has-sticky-buy .wa-float {
    opacity: 0;
    pointer-events: none;
  }
  .cert-teaser {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .svc-layout {
    grid-template-columns: 1fr;
  }
  .svc-nav {
    position: relative;
    top: 0;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }
  .svc-nav a {
    white-space: nowrap;
    border: 1px solid var(--rule-2);
    padding: 8px 12px;
  }
  .care-grid {
    grid-template-columns: 1fr;
  }
  .care-grid > div,
  .care-grid > div + div {
    padding-inline: 0;
    border-inline-start: 0;
  }
  .search-grid {
    grid-template-columns: 1fr;
  }
  .mega {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-body: 1rem;
  }
  .tool-lang {
    padding-inline: 6px;
    font-size: 0.82rem;
  }
  .tool-search-label {
    display: none;
  }
  .brand img {
    width: 112px;
  }
  .brand-sub {
    font-size: 0.6rem;
  }
  .cta-row .btn {
    width: 100%;
  }
  .tel-line {
    justify-content: center;
    width: 100%;
  }
  .field {
    column-gap: 8px;
  }
  .field dd {
    font-size: 0.92rem;
  }
  .section-head.is-row {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 28px 12px;
  }
  .card-act .icon-btn {
    width: 44px;
    height: 44px;
  }
  .tile {
    grid-column: 1 / -1;
    min-height: 420px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .quote-stage {
    grid-template-columns: 1fr;
  }
  .portraits {
    width: 150px;
    margin-inline-start: 22px;
  }
  .club-form {
    grid-template-columns: 1fr;
  }
  .club-form .btn {
    margin-top: 0;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
  .search-results {
    grid-template-columns: 1fr;
  }
  .cert-top {
    grid-template-columns: 1fr;
  }
  .cert-id {
    text-align: start;
  }
  .cert-foot {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .reviews-head {
    grid-template-columns: 1fr;
  }
  /* sheets rise from the bottom on phones */
  dialog.panel,
  dialog.panel.from-start,
  [dir='rtl'] dialog.panel,
  [dir='rtl'] dialog.panel.from-start {
    inset: auto 0 0 0;
    width: 100vw;
    height: auto;
    max-height: 92dvh;
    border: 0;
    border-top: 1px solid var(--ink);
    transform: translateY(100%);
  }
  dialog.panel[open] {
    transform: none;
  }
  @starting-style {
    dialog.panel[open] {
      transform: translateY(100%);
    }
  }
  dialog.panel.is-closing {
    transform: translateY(100%);
  }
  dialog.panel.is-full {
    height: 100dvh;
    max-height: 100dvh;
  }
  dialog.panel.is-top {
    inset: 0 0 auto 0;
    max-height: 100dvh;
    height: 100dvh;
    border-top: 0;
  }
  .drag-handle {
    display: block;
    position: absolute;
    top: 7px;
    inset-inline-start: 50%;
    width: 42px;
    height: 4px;
    margin-inline-start: -21px;
    border-radius: 2px;
    background: var(--rule-2);
  }
  .panel-head {
    padding-top: 24px;
    touch-action: none;
  }
  .toaster {
    inset-inline: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: auto;
  }
  body.has-sticky-buy .toaster {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 400px) {
  .tools {
    gap: 0;
  }
  .tool {
    min-width: 40px;
    padding: 0 4px;
  }
}

/* =========================================================================
   Motion preferences
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .band-track {
    animation: none;
    transform: none;
  }
  .studio-piece img,
  .quote-fade,
  .stage-slide img {
    transition: opacity 200ms ease !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .sticky-buy {
    background: var(--paper-3);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* certificate print */
@media print {
  .band,
  .site-header,
  .site-footer,
  .wa-float,
  .cert-tools,
  .toaster,
  .care-wrap {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .certificate {
    border: 1px solid #1d3a33;
    outline: 0;
  }
}

/* name preview: reference photo sits under the stage, never over the lettering */
.name-col {
  display: grid;
  gap: 16px;
}
.ref-row {
  margin: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}
.ref-row img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--ink);
}
.ref-row figcaption {
  display: grid;
  gap: 2px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* the real بنت ابوها necklace on the homepage */
.piece-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.piece-photos {
  position: relative;
  padding-bottom: clamp(36px, 6vw, 72px);
  padding-inline-end: clamp(36px, 8vw, 110px);
}
.piece-photos .window {
  margin: 0;
}
.piece-main .window-media {
  aspect-ratio: 4 / 5;
}
.piece-inset {
  position: absolute !important;
  inset-inline-end: 0;
  bottom: 0;
  width: 42%;
  padding: 6px !important;
  box-shadow: 0 18px 30px -18px rgba(20, 44, 38, 0.55);
}
.piece-inset .window-media {
  aspect-ratio: 3 / 4;
}
.piece-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}
.piece-copy h2 {
  font-family: 'Ruwudu', 'Amiri', serif;
  font-size: clamp(3rem, 2rem + 4vw, 5.6rem);
  line-height: 1.3;
  text-align: start;
}
[dir='ltr'] .piece-copy h2 {
  text-align: left;
}
@media (max-width: 960px) {
  .piece-feature {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .piece-photos {
    padding-inline-end: 22%;
  }
  .piece-inset {
    width: 46%;
  }
}

/* phone header: menu + search on one side, language + bag on the other, logo centred */
.tool-search-start {
  display: none;
}
@media (max-width: 640px) {
  .tool-account,
  .tool-search {
    display: none;
  }
  .tool-search-start {
    display: inline-flex;
  }
  .header-inner {
    gap: 6px;
  }
  .header-start {
    gap: 0;
  }
}
/* collection toolbar never pushes the page wider than the phone */
@media (max-width: 960px) {
  .shop {
    grid-template-columns: minmax(0, 1fr);
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .toolbar .count {
    order: 3;
    width: 100%;
  }
  .sort {
    margin-inline-start: auto;
  }
  /* product page on phones: the buy bar is always there, the floating chat button steps aside */
  .is-pdp .sticky-buy {
    transform: none;
  }
  .is-pdp .wa-float {
    display: none;
  }
  .is-pdp .site-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .is-pdp .toaster {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 380px) {
  .sort > span {
    display: none;
  }
}
.stars .icon {
  color: var(--foil);
}

/* single-column grids may never grow past the phone; long values wrap */
.field dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 960px) {
  .engrave-split,
  .voices,
  .story-grid,
  .viewing-inner,
  .club,
  .contact-grid,
  .cert-body,
  .piece-feature,
  .studio-inner,
  .svc-layout,
  .pdp {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* break-ui fixes: long names clamp, prices never split */
.card-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.card-price,
.pdp-price .price,
.bag-item .price {
  white-space: nowrap;
}

/* find-animation-opportunities: two survivors of the gate */
/* 1. accordions stop teleporting (state indication, occasional): height + opacity, 220ms */
@supports (interpolate-size: allow-keywords) {
  .acc,
  .filters {
    interpolate-size: allow-keywords;
  }
  .acc details::details-content,
  .filter-group::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size 220ms var(--ease-out), opacity 220ms var(--ease-out), content-visibility 220ms allow-discrete;
  }
  .acc details[open]::details-content,
  .filter-group[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}
/* 2. "don't know my size" help arrives instead of popping (preventing a jarring change) */
.unsure {
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
@starting-style {
  .unsure {
    opacity: 0;
    transform: translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .acc details::details-content,
  .filter-group::details-content,
  .unsure {
    transition-duration: 0.01ms !important;
  }
}

.field-group h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.empty-state h2 {
  font-size: 1.5rem;
}

/* phones: a wrapped value keeps its leader on the first line; long values wrap evenly */
@media (max-width: 520px) {
  .field {
    grid-template-columns: auto minmax(22px, 1fr) fit-content(62%);
  }
  .field::after {
    align-self: start;
    margin-bottom: 0;
    margin-top: calc(1lh - 0.42em);
  }
  /* start-aligned so the first word meets the leader; pretty only guards the last line */
  .field dd {
    text-align: start;
    text-wrap: pretty;
  }
}

/* the stone row is the hero sheet's lower edge: a perforated stub across both columns */
.sheet > .stone-row {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px clamp(18px, 2.2vw, 32px) 12px;
  border-top: 1px dashed var(--rule-2);
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
}
@media (min-width: 961px) {
  .hero .sheet {
    grid-template-rows: minmax(0, 1fr) auto;
  }
}

/* phones: the photograph comes first at full strength; copy, actions and the card sit on paper below */
@media (max-width: 640px) {
  .viewing {
    display: block;
    min-height: 0;
    color: var(--ink);
    background: var(--paper);
  }
  .viewing > img {
    position: static;
    z-index: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-bottom: 1px solid var(--ink);
  }
  .viewing::before,
  [dir='rtl'] .viewing::before {
    display: none;
  }
  .viewing-inner {
    padding-block: 34px 48px;
  }
  .viewing h2 em {
    color: var(--foil-dark);
  }
  .viewing p {
    color: var(--ink-2);
  }
  .viewing .btn-primary {
    background: var(--ink);
    color: var(--on-ink);
  }
  .viewing .btn-primary .btn-seal {
    background: rgba(238, 240, 232, 0.1);
  }
  .viewing .btn-secondary {
    color: var(--ink);
    border-color: var(--ink);
  }
  .viewing-card {
    outline-color: var(--rule-2);
  }
}
@media (min-width: 961px) {
  .hero .report {
    padding-block: clamp(24px, 2.8vw, 44px) clamp(20px, 2.4vw, 34px);
  }
  .hero .report h1 {
    font-size: min(var(--fs-display), 9.2vh);
  }
  .sheet > .stone-row {
    padding-block: 6px 8px;
  }
}
@media (max-width: 640px) {
  .sheet > .stone-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 12px 18px 10px;
  }
  .sheet > .stone-row > .label {
    grid-column: 1 / -1;
    margin: 0 0 2px;
  }
}
@media (min-width: 961px) {
  :root[lang='ar'] .hero .report h1 {
    font-size: min(calc(var(--fs-display) * 0.94), 9vh);
  }
}
