:root {
  color-scheme: dark;
  --bg: #05070f;
  --ink: #ece6d6;
  --muted: #a29d91;
  --line: rgba(212, 175, 55, .22);
  --line-soft: rgba(255, 255, 255, .1);
  --card: rgba(16, 22, 40, .62);
  --field: rgba(255, 255, 255, .055);
  --gold: #d9b45a;
  --gold-hi: #f6e3a4;
  --gold-grad: linear-gradient(45deg, #bf953f, #fcf6ba 45%, #b38728 75%, #fbf5b7);
  --ok: #58c48a;
  --err: #ff8a80;
  --radius: 18px;
  --font: "Cairo", system-ui, sans-serif;
  --serif: "Amiri", "Times New Roman", serif;
  --script: "Aref Ruqaa", "Amiri", serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7; overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(38, 56, 104, .45), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 35%, rgba(90, 64, 24, .22), transparent 70%),
    radial-gradient(ellipse 70% 50% at 20% 85%, rgba(28, 40, 76, .4), transparent 70%);
  background-attachment: fixed;
}
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.top {
  display: flex; align-items: center; justify-content: center; padding: 14px 16px;
  position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 15, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--latin); font-size: 22px; letter-spacing: 6px; text-decoration: none; color: var(--gold-hi);
  display: flex; align-items: center; gap: 10px; direction: ltr;
}
.brand .mono {
  width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center;
  font-style: italic; letter-spacing: 0; font-size: 20px; color: var(--gold);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 16px; }
section { position: relative; }
.sec { max-width: 1120px; margin: 0 auto; padding: 56px 16px; }
.sec-title { font-family: var(--script); font-size: clamp(28px, 6vw, 42px); text-align: center; margin: 0 0 8px; line-height: 1.5; }
.sec-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.divider { width: 120px; height: 1px; margin: 0 auto 26px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* buttons */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  background: var(--gold-grad); color: #1a1406; font: inherit; font-weight: 700; font-size: 17px;
  padding: 14px 30px; border-radius: 999px; border: 0;
  box-shadow: 0 8px 30px rgba(212, 175, 55, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .2s, box-shadow .2s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(212, 175, 55, .38); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
  border: 1px solid var(--gold); color: var(--gold-hi); padding: 10px 22px; border-radius: 999px; font: inherit;
  background: rgba(212, 175, 55, .06);
}

/* ---------------------------------------------------------------- landing */
.hero { max-width: 1120px; margin: 0 auto; padding: 28px 16px 20px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.05fr; padding-top: 56px; gap: 40px; } }
.hero-text { text-align: center; }
@media (min-width: 900px) { .hero-text { text-align: right; } }
.kicker { display: inline-block; color: var(--gold); letter-spacing: 1px; font-size: 14px; border: 1px solid var(--line);
  padding: 4px 14px; border-radius: 999px; background: rgba(212, 175, 55, .06); }
.hero h1 { font-family: var(--script); font-weight: 700; font-size: clamp(36px, 9vw, 64px); line-height: 1.45; margin: 14px 0 10px; }
.hero .sub { color: #cfc8b8; font-size: 17px; margin: 0 0 20px; }
.price-chip { display: inline-flex; align-items: baseline; gap: 8px; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 18px; margin: 0 0 20px; background: rgba(255, 255, 255, .03); }
.price-chip b { font-size: 24px; }
.price-chip small { color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .hero-cta { justify-content: flex-start; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--muted); font-size: 14px;
  margin: 18px 0 0; padding: 0; list-style: none; }
.trust li::before { content: "✦"; color: var(--gold); margin-left: 6px; }
@media (min-width: 900px) { .trust { justify-content: flex-start; } }
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: 24px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(212, 175, 55, .08); }
@media (max-width: 899px) { .hero-img { order: -1; max-width: 520px; margin: 0 auto; } }

.story { max-width: 760px; margin: 0 auto; text-align: center; font-size: 18px; color: #d9d2c2; }
.ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ideas span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 15px; color: var(--gold-hi);
  background: rgba(212, 175, 55, .05); }

.glass { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 24px 20px; text-align: center; }
.step .num { width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #1a1406; font-weight: 700; font-size: 20px; box-shadow: 0 0 24px rgba(212, 175, 55, .3); }
.step h3 { margin: 0 0 6px; font-size: 19px; color: var(--gold-hi); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.gallery img { flex: 0 0 auto; width: min(64vw, 280px); scroll-snap-align: center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
@media (min-width: 900px) { .gallery { justify-content: center; } }

.frames3 { display: grid; gap: 14px; }
@media (min-width: 760px) { .frames3 { grid-template-columns: repeat(3, 1fr); } }
.fcard { padding: 18px 16px 20px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.fcard .fimg { aspect-ratio: 5 / 3; display: grid; place-items: center; }
.fcard .fimg img { max-height: 100%; width: auto; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .55)); }
.fcard h3 { margin: 4px 0 0; font-family: var(--latin); font-size: 26px; letter-spacing: 1px; color: var(--gold-hi); }
.fcard p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.fcard .fprice { font-size: 22px; font-weight: 700; }
.fcard.best { border-color: rgba(212, 175, 55, .6); box-shadow: 0 0 40px rgba(212, 175, 55, .12); }
.fcard .tag { align-self: center; font-size: 12px; background: var(--gold-grad); color: #1a1406; border-radius: 999px; padding: 1px 12px; font-weight: 700; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px;
  background: rgba(10, 14, 28, .9); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .3s, opacity .3s; }
.buybar.hide { transform: translateY(140%); opacity: 0; }
.buybar .btn-gold { padding: 10px 22px; font-size: 16px; }
.buybar span { font-size: 14px; color: var(--muted); padding-right: 6px; }
.buybar b { color: var(--gold-hi); }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------------------------------------------------------------- catalog */
.cat-hero { text-align: center; padding: 46px 16px 10px; }
.cat-hero h1 { font-family: var(--script); font-size: clamp(38px, 9vw, 66px); margin: 6px 0 6px; line-height: 1.45; }
.cat-hero p { color: #cfc8b8; margin: 0 auto; max-width: 560px; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.pcard { text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, border-color .3s; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .55); }
.pcard img { aspect-ratio: 1200 / 1400; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.pcard .body { padding: 16px 18px 20px; }
.pcard h2 { font-family: var(--script); font-size: 28px; margin: 0 0 2px; font-weight: 700; }
.pcard p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.pcard .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-weight: 700; color: var(--gold-hi); }
.pcard .go { color: var(--gold); font-size: 15px; }

/* ---------------------------------------------------------------- order section */
.product { display: grid; gap: 22px; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1fr 1fr; align-items: start; }
  .preview-col { position: sticky; top: 80px; }
}
.preview-box {
  background: radial-gradient(ellipse at 50% 40%, #2a2f3d 0%, #161a26 60%, #0e111b 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 16px; text-align: center;
}
/* photographed frame with a transparent opening; the poster sits under it */
.preview-frame { position: relative; margin: 0 auto; max-width: 420px; aspect-ratio: 581 / 799; }
.preview-frame .poster { position: absolute; object-fit: cover; background: #0d0d0d; transition: opacity .25s; }
.preview-frame .frame-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.55)) drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.pack { margin: 14px auto 0; max-width: 280px; }
.pack img { width: 100%; }
.pack small { display: block; color: var(--muted); font-size: 13px; }
.frame-switch { display: inline-flex; gap: 4px; margin: 0 0 16px; background: rgba(255,255,255,.06);
  padding: 4px; border-radius: 999px; border: 1px solid var(--line-soft); }
.frame-switch button { border: 0; background: none; font: inherit; font-size: 14px; padding: 6px 16px;
  border-radius: 999px; cursor: pointer; color: var(--ink); }
.frame-switch button.on { background: var(--gold-grad); color: #1a1406; font-weight: 700; }
.frame-caption { font-size: 14px; color: #d4ccb9; margin: 14px 0 0; font-weight: 600; }
.preview-frame.loading .poster { opacity: .35; }
.spinner {
  display: none; position: absolute; inset: 0; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; font-size: 15px; color: #d9c48a; text-align: center; padding: 20px;
}
.preview-frame.loading .spinner { display: flex; }
.spinner::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(217,196,138,.25); border-top-color: #d9c48a; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preview-note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

/* before -> after pictures (HandMark) */
.pairs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 14px; -webkit-overflow-scrolling: touch; }
.pair { flex: 0 0 72vw; max-width: 300px; margin: 0; padding: 0; overflow: hidden; scroll-snap-align: center; border-radius: 16px; }
.pair img { width: 100%; height: auto; display: block; }
.pair figcaption { padding: 10px 12px 12px; text-align: center; font-weight: 700; color: #f1e2b4; font-size: 15px; }
@media (min-width: 900px) { .pairs { justify-content: center; flex-wrap: wrap; overflow: visible; } .pair { flex-basis: 220px; } }

/* photo of a handwritten paper (HandMark) */
.ph-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field label.ph-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; cursor: pointer;
  margin: 0; border: 1.5px dashed rgba(217,196,138,.55); border-radius: 16px; background: rgba(217,196,138,.06); text-align: center; }
.field label.ph-drop[hidden] { display: none; }
.ph-drop b, .ph-drop small { display: block; }
.ph-drop:hover, .ph-file:focus-visible + .ph-drop { background: rgba(217,196,138,.12); }
.ph-drop b { font-size: 17px; color: #f1e2b4; }
.ph-drop small { color: var(--muted); font-size: 13px; }
.ph-ico { font-size: 34px; line-height: 1; }
.ph-drop.busy { cursor: progress; opacity: .85; }
.ph-drop.busy .ph-ico { animation: ph-pulse 1s ease-in-out infinite; }
@keyframes ph-pulse { 50% { transform: scale(1.18); opacity: .6; } }
.ph-tips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 13.5px; }
.ph-tips li::before { content: "✓"; color: #d9c48a; margin-inline-end: 8px; }
.ph-tips.stress { color: #f1e2b4; }
.ph-result { display: flex; gap: 14px; align-items: center; }
.ph-result[hidden], .ph-drop[hidden] { display: none; }
.ph-poster { flex: 0 0 46%; max-width: 210px; aspect-ratio: 2480 / 3508; background: #0d0d0d; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(217,196,138,.45); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.ph-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s; }
.ph.busy .ph-poster img { opacity: .3; }
.ph-side { flex: 1; min-width: 0; }
.ph-note { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.ph-note.ok { color: #cfe6c2; }
.ph-note.warn { color: #f0d48a; }
.ph-again { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink);
  background: rgba(255,255,255,.07); border: 1px solid var(--line-soft); }
.preview-frame.failed .poster { opacity: .1; }
.preview-fail { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 26px; text-align: center; color: #e9d9a8; font-size: 15px; line-height: 1.8; }
.preview-frame.failed .preview-fail { display: flex; }
.preview-fail p { margin: 0; }
.preview-fail button { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  color: #1a1406; background: var(--gold-grad); border: 0; }

h1.ptitle { font-family: var(--script); font-size: 30px; margin: 4px 0 6px; }
.pdesc { color: var(--muted); margin: 0 0 14px; }

form.order { padding: 20px 16px; }
.section-title { font-weight: 700; font-size: 18px; margin: 20px 0 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--gold-hi); }
.section-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: 13px; }
input[type=text], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; background: var(--field); color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #7d7869; }
select option { background: #0f1424; color: var(--ink); }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; margin-top: 4px; min-height: 0; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices.three { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choices.three .choice span { padding: 10px 6px; }
.choices.three .choice input:checked + span { padding: 9px 5px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: block; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px; text-align: center;
  cursor: pointer; height: 100%; background: var(--field);
}
.choice span b { display: block; font-size: 16px; }
.choice span small { color: var(--muted); }
.choice input:checked + span { border: 2px solid var(--gold); padding: 11px; background: rgba(212,175,55,.1); }
.choice input:checked + span b { color: var(--gold-hi); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); }

.map-picker { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; overflow: hidden; }
.map-search { display: flex; gap: 6px; padding: 8px; background: rgba(255,255,255,.04); position: relative; }
.map-search input { flex: 1; }
.map-results {
  position: absolute; top: 100%; left: 8px; right: 8px; background: #111729; border: 1px solid var(--line);
  border-radius: 12px; z-index: 500; max-height: 240px; overflow: auto; display: none;
}
.map-results button {
  display: block; width: 100%; text-align: right; padding: 10px 12px; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 15px; border-bottom: 1px solid var(--line-soft); cursor: pointer;
}
.map-results button:hover { background: rgba(212,175,55,.1); }
.map { height: 300px; background: #ddd; }
.bw-tiles { filter: grayscale(1) contrast(1.05); }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { color: #333; }
.map-hint { font-size: 13px; color: var(--muted); padding: 6px 10px; }

.summary { background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; margin: 16px 0; }
.summary div { display: flex; justify-content: space-between; }
.summary .total { font-weight: 700; font-size: 20px; border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 6px; color: var(--gold-hi); }

.btn {
  display: block; width: 100%; padding: 15px; font: inherit; font-size: 18px; font-weight: 700;
  background: var(--gold-grad); color: #1a1406; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 30px rgba(212,175,55,.25);
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn.secondary { background: transparent; color: var(--gold-hi); border: 1px solid var(--gold); font-size: 16px; padding: 11px; margin-top: 10px; box-shadow: none; }
.form-error { color: var(--err); text-align: center; margin: 10px 0 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.done { text-align: center; padding: 26px 10px; }
.done .check { font-size: 46px; color: var(--ok); line-height: 1; }
.done h2 { font-family: var(--script); font-size: 30px; margin: 10px 0; color: var(--gold-hi); }

.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 34px 16px 100px; border-top: 1px solid var(--line); margin-top: 30px; }
.foot-brand { font-family: var(--latin); letter-spacing: 6px; color: var(--gold); font-size: 18px; margin-bottom: 6px; }
@media (min-width: 900px) { .foot { padding-bottom: 40px; } }

/* ---------------------------------------------------------------- v3: logo, foil, reviews, 3-step order */
.masthead { text-align: center; padding: 26px 16px 4px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; gap: 2px; }
.logo-img { height: 96px; width: auto; filter: drop-shadow(0 0 18px rgba(212,175,55,.18)); }
@media (min-width: 900px) { .logo-img { height: 118px; } }
.logo-mono { font-family: "Great Vibes", var(--latin), cursive; font-size: 64px; line-height: 1; color: var(--gold);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 12px; }
.logo-word { font-family: var(--latin); letter-spacing: 5px; font-size: 13px; color: #cdb676; direction: ltr; }
.muted { color: var(--muted); }

.foil-grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .foil-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
.foil-text { text-align: center; }
@media (min-width: 900px) { .foil-text { text-align: right; } .foil-text .sec-title { text-align: right; } }
.foil-text p { font-size: 18px; color: #d9d2c2; margin: 10px 0; }
.foil-text .muted { font-size: 16px; }
.foil-media { width: 100%; max-width: 440px; margin: 0 auto; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.foil-demo { position: relative; max-width: 330px; margin: 0 auto; border-radius: 6px; overflow: hidden;
  border: 10px solid #111; outline: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.6); aspect-ratio: 2480 / 3508; }
.foil-demo img { width: 100%; height: 100%; object-fit: cover; }
.foil-sheet { position: absolute; inset: 0; transform-origin: 0 100%;
  background: linear-gradient(115deg, #8d6a2a 0%, #e9d18b 22%, #fff5c9 32%, #c9a14e 48%, #f3e0a0 64%, #9c7631 82%, #e6c878 100%);
  box-shadow: 8px -8px 24px rgba(0,0,0,.45); animation: peel 6s ease-in-out infinite; }
.foil-sheet::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.0) 0 14px, rgba(255,255,255,.12) 14px 16px); }
@keyframes peel {          /* the foil sheet is pulled off from the bottom corner, diagonally */
  0%, 14% { clip-path: polygon(0 0, 200% 0, 0 200%); }
  64%, 86% { clip-path: polygon(0 0, 0 0, 0 0); }
  100% { clip-path: polygon(0 0, 200% 0, 0 200%); }
}
@media (prefers-reduced-motion: reduce) { .foil-sheet { animation: none; clip-path: polygon(0 0, 90% 0, 0 90%); } }

.gallery img:not(.ex) { border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 4 / 5; object-fit: cover; }

.reviews { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.reviews img { flex: 0 0 auto; width: min(72vw, 300px); scroll-snap-align: center; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; }

.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.form-note { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.summary .hint { display: block; margin-top: 6px; text-align: center; }

.ok-banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin: 0 auto 20px; max-width: 760px; }
.ok-banner .check { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #1a1406; font-weight: 700; font-size: 22px; }
.ok-banner b { display: block; font-size: 18px; color: var(--gold-hi); }
.ok-banner small { color: #cfc8b8; font-size: 15px; }
.choose { padding: 18px 16px; }
.choose-title { margin: 0 0 12px; font-size: 19px; color: var(--gold-hi); text-align: center; }
.vcards { display: grid; gap: 10px; }
.vcard { position: relative; display: block; }
.vcard input { position: absolute; opacity: 0; inset: 0; }
.vcard span { display: grid; grid-template-columns: 96px 1fr auto; grid-template-rows: auto auto; gap: 2px 12px;
  align-items: center; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: var(--field); cursor: pointer; }
.vcard img { grid-row: 1 / 3; width: 96px; height: 64px; object-fit: contain; }
.vcard b { font-size: 17px; }
.vcard small { grid-column: 2; color: var(--muted); font-size: 13px; line-height: 1.5; }
.vcard em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-weight: 700; color: var(--gold-hi); white-space: nowrap; }
.vcard input:checked + span { border: 2px solid var(--gold); padding: 9px 11px; background: rgba(212,175,55,.1); }
.vcard input:focus-visible + span { outline: 2px solid var(--gold); }
.done .big { font-size: 20px; color: var(--ink); font-weight: 600; }
#step3 { padding: 30px 18px; }

/* customer videos + legal pages */
.rv-sub { text-align: center; color: #cfc8b8; margin: 4px 0 10px; font-size: 15px; }
.rv-videos { margin-bottom: 18px; }
.rv-video { position: relative; flex: 0 0 auto; width: min(58vw, 240px); aspect-ratio: 9 / 16; margin: 0; scroll-snap-align: center;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; }
.rv-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--gold-grad); color: #1a1406; font-size: 22px; box-shadow: 0 6px 24px rgba(0,0,0,.5); pointer-events: none; }
.rv-video.playing .rv-play { opacity: 0; transition: opacity .2s; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0 0; font-size: 14px; }
.foot-links a { color: #cdb676; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.legal { max-width: 780px; margin: 0 auto; padding: 24px 18px 40px; line-height: 1.9; }
.legal h1 { text-align: center; margin-bottom: 4px; }
.legal .upd { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.legal h2 { color: var(--gold-hi); font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { color: #e6e0d2; }
.legal ul { padding-inline-start: 22px; }
.legal a { color: #e8c874; }
.legal .glass { padding: 18px 22px; }
.terms-note { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.terms-note a { color: #cdb676; }

/* ---------------- order form: date in three lists, the two names in one line */
.date3 { display: grid; grid-template-columns: 1fr 1.45fr 1.1fr; gap: 8px; }
.date3 select { padding-inline: 10px; }
.names2-row { display: flex; align-items: flex-start; gap: 8px; }
.names2-row > .field { flex: 1; margin-bottom: 0; }
.names2-row .inf { color: var(--gold); font-size: 22px; line-height: 44px; }

/* ---------------- «من تصاميمنا» highlights (Instagram style) */
.hl-row { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 12px; scroll-snap-type: x proximity;
  justify-content: flex-start; scrollbar-width: none; }
.hl-row::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .hl-row { justify-content: center; } }
.hl { flex: 0 0 auto; width: 86px; background: none; border: 0; padding: 0; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: start; font: inherit; }
.hl-ring { width: 80px; height: 80px; border-radius: 50%; padding: 3px;
  background: linear-gradient(45deg, #aa771c, #fcf6ba, #bf953f, #fcf6ba, #aa771c); transition: transform .2s; }
.hl-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #05070f; background: #0b0e1a; }
.hl:active .hl-ring { transform: scale(.94); }
.hl.seen .hl-ring { background: rgba(212, 175, 55, .35); }
.hl-t { font-size: 12.5px; line-height: 1.3; text-align: center; color: #e9e2cf; max-width: 86px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

html.st-open, html.st-open body { overflow: hidden; }
.st { position: fixed; inset: 0; z-index: 1000; background: #000; touch-action: none; user-select: none;
  -webkit-user-select: none; display: flex; align-items: center; justify-content: center; }
.st[hidden] { display: none; }
.st-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .2s;
  -webkit-user-drag: none; pointer-events: none; }
.st-img.loading { opacity: .25; }
.st-bars { position: absolute; top: max(10px, env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.st-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.st-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: #fff; }
.st-head { position: absolute; top: calc(max(10px, env(safe-area-inset-top)) + 12px); left: 10px; right: 10px; z-index: 3;
  display: flex; align-items: center; gap: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.st-cover { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid #d4af37; }
.st-title { flex: 1; font-weight: 700; font-size: 15px; }
.st-x { background: none; border: 0; color: #fff; font-size: 24px; width: 44px; height: 44px; cursor: pointer; }
.st-zone { position: absolute; top: 0; bottom: 0; width: 50%; background: transparent; border: 0; z-index: 2; cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
.st-left { left: 0; }
.st-right { right: 0; }
@media (min-width: 700px) { .st-img { max-width: min(100%, 520px); border-radius: 12px; } }

/* picture choice (profession cards on «أهل المقام») */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .picks { grid-template-columns: repeat(5, 1fr); } }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: block; height: 100%; border: 1px solid var(--line-soft); border-radius: 12px; padding: 6px 4px 7px;
  background: #0d0d0d; text-align: center; transition: border-color .15s, box-shadow .15s; }
.pick img { display: block; width: 100%; height: auto; border-radius: 8px; }
.pick b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; margin-top: 3px; }
.pick input:checked + span { border: 2px solid var(--gold); padding: 5px 3px 6px; box-shadow: 0 0 16px rgba(212, 175, 55, .28); }
.pick input:checked + span b { color: var(--gold-hi); }
.pick input:focus-visible + span { outline: 2px solid var(--gold); }
.picks > .pick:last-child:nth-child(3n + 1) { grid-column: 2; }
@media (min-width: 560px) { .picks > .pick:last-child:nth-child(3n + 1) { grid-column: auto; } }

/* thank-you page: the framed design with the packaging that comes with the chosen frame */
.thanks { padding-top: 8px; }
.preview-stage { position: relative; max-width: 420px; margin: 0 auto; padding-bottom: 30%; }
.preview-stage .preview-frame { max-width: none; }
.preview-wrap { position: absolute; bottom: 0; left: -2%; width: 37%; height: auto; transform: rotate(-7deg);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); transition: opacity .25s; pointer-events: none; }
.preview-stage::after { content: "＋ التغليف"; position: absolute; bottom: 9%; left: 40%; font-size: 14px;
  color: var(--gold-hi); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; background: rgba(10, 14, 28, .6); }

/* the offer: 1, 2 or 3 posters (order form) */
.offers { display: grid; gap: 16px; margin: 6px 0 4px; padding-top: 10px; }
.offer { position: relative; display: block; cursor: pointer; }
.offer input { position: absolute; opacity: 0; inset: 0; }
.offer-in { display: block; position: relative; border: 1.5px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.035); padding: 18px 14px 14px; transition: border-color .15s, background .15s; }
.offer-badge { position: absolute; top: 0; right: 14px; transform: translateY(-50%); max-width: calc(100% - 28px);
  font-style: normal; font-size: 12.5px; font-weight: 700; line-height: 1.5; padding: 2px 12px; border-radius: 999px;
  background: #1b1608; color: var(--gold-hi); border: 1px solid var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.offer-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold); box-sizing: border-box; }
.offer-txt b { display: block; font-size: 16.5px; }
.offer-txt small { display: block; color: var(--muted); font-size: 13px; }
.offer-price { text-align: left; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.35; }
.offer-price b { font-size: 18px; color: var(--gold-hi); white-space: nowrap; }
.offer-price s { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.offer-price .save { color: var(--ok); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.offer input:checked + .offer-in { border: 2px solid var(--gold); background: rgba(212,175,55,.1); padding: 17.5px 13.5px 13.5px; }
.offer input:checked + .offer-in .offer-dot { border-width: 7px; }
.offer input:focus-visible + .offer-in { outline: 2px solid var(--gold); outline-offset: 2px; }
.offer.best .offer-badge { background: var(--gold-grad); color: #1a1406; border-color: transparent; }
.piece { border-top: 1px dashed var(--line); margin-top: 6px; }
.piece[hidden] { display: none; }
.piece-switch { margin-left: 8px; }
.piece-switch[hidden] { display: none; }
.choices.one { grid-template-columns: 1fr; }
