:root {
  --paper: #f8f1e4; --card: #fffaf1; --ink: #3b2416; --ink-soft: #6e5442; --gold: #b08a48; --gold-soft: #e3cfa3;
  --blush: #e9c3bd; --sage: #b9c4a6; --shadow: 0 30px 60px -28px rgba(59, 36, 22, .45);
  --display: "Aref Ruqaa", serif; --body: "Amiri", serif; --script: "Pinyon Script", cursive;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink); font: 400 19px/1.75 var(--body); overflow-x: hidden;
  background-image:
    radial-gradient(120% 60% at 100% 0%, rgba(233, 195, 189, .35), transparent 60%),
    radial-gradient(90% 50% at 0% 40%, rgba(185, 196, 166, .28), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* masthead */
.mast { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.brand { font: 400 30px/1 var(--script); color: var(--ink); text-decoration: none; direction: ltr; }
.mast nav { display: flex; gap: 18px; font-size: 16px; }
.mast nav a { text-decoration: none; color: var(--ink-soft); border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.mast nav a:hover, .mast nav a[aria-current] { color: var(--ink); border-color: var(--gold); }

/* hero: the phone is the hero, the words sit beside it like a printed card */
.hero { display: grid; grid-template-columns: 1fr minmax(240px, 330px); gap: 56px; align-items: center; padding: 30px 0 70px; }
.kicker { font-size: 15px; letter-spacing: .25em; color: var(--gold); }
.hero h1 { font: 700 clamp(44px, 7vw, 76px)/1.15 var(--display); margin: 10px 0 18px; }
.hero p.lead { font-size: 21px; color: var(--ink-soft); max-width: 30ch; }
.rule { width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 26px 0; }
.cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 16px 30px; border-radius: 999px;
       background: var(--ink); color: var(--card); text-decoration: none; font: 700 18px var(--body);
       box-shadow: 0 14px 30px -14px rgba(59, 36, 22, .7); transition: transform .25s, box-shadow .25s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(59, 36, 22, .8); }
.cta small { font-weight: 400; opacity: .7; }

.phone { position: relative; aspect-ratio: 9 / 19; border-radius: 44px; background: #1b1310; padding: 11px; box-shadow: var(--shadow);
         transform: rotate(-2.5deg); animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; background: var(--card); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 20px; background: #1b1310; z-index: 2; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } }
.hero > div:first-child > * { animation: fade .9s ease both; }
.hero > div:first-child > *:nth-child(2) { animation-delay: .12s; } .hero > div:first-child > *:nth-child(3) { animation-delay: .24s; }
.hero > div:first-child > *:nth-child(4) { animation-delay: .36s; } .hero > div:first-child > *:nth-child(5) { animation-delay: .48s; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

/* designs: small films on deckled cards */
section.block { padding: 64px 0; border-top: 1px solid rgba(176, 138, 72, .3); }
section.block h2 { font: 700 40px/1.2 var(--display); margin-bottom: 8px; }
section.block > .wrap > p { color: var(--ink-soft); margin-bottom: 30px; }
.designs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.design { background: var(--card); padding: 12px 12px 18px; border-radius: 6px; box-shadow: 0 18px 34px -24px rgba(59, 36, 22, .55);
          transition: transform .35s; }
.design:nth-child(odd) { transform: rotate(-1deg); } .design:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.design:hover { transform: rotate(0) translateY(-4px); }
.design video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 3px; display: block; }
.design h3 { font: 700 22px var(--display); margin-top: 12px; }
.design span { font-size: 15px; color: var(--ink-soft); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; position: relative; padding-top: 54px; }
.steps li::before { content: counter(s, arabic-indic); position: absolute; top: 0; right: 0; font: 700 46px/1 var(--display); color: var(--gold); }
.steps b { display: block; font-size: 21px; }
.steps span { color: var(--ink-soft); font-size: 17px; }

/* packages: a printed menu card */
.menu { max-width: 560px; margin: 0 auto; background: var(--card); padding: 44px 40px; border: 1px solid var(--gold-soft); outline: 1px solid var(--gold-soft); outline-offset: -10px; box-shadow: var(--shadow); text-align: center; }
.menu h2 { margin-bottom: 26px; }
.menu dl { display: grid; grid-template-columns: 1fr auto; gap: 18px 20px; text-align: right; }
.menu dt b { display: block; font-size: 21px; } .menu dt span { font-size: 16px; color: var(--ink-soft); }
.menu dd { font: 700 30px/1.2 var(--display); color: var(--gold); align-self: center; }
.menu .cta { margin-top: 30px; }

footer { padding: 50px 0 70px; text-align: center; color: var(--ink-soft); font-size: 15px; }
footer .brand { display: block; font-size: 34px; margin-bottom: 6px; }

/* occasion chooser */
.occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; padding-bottom: 60px; }
.occasion { display: block; text-decoration: none; background: var(--card); padding: 14px 14px 22px; box-shadow: var(--shadow); border-radius: 6px; transition: transform .35s; }
.occasion:hover { transform: translateY(-6px) rotate(-.6deg); }
.occasion video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 3px; }
.occasion h2 { font: 700 34px var(--display); margin-top: 14px; }
.occasion span { color: var(--ink-soft); font-size: 16px; }
.occasion.soon { opacity: .55; pointer-events: none; }

@media (max-width: 760px) {
  body { font-size: 18px; }
  .mast nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 10px; text-align: center; }
  .hero .phone { width: min(300px, 78vw); margin: 0 auto; order: -1; }
  .hero p.lead { margin: 0 auto; } .rule { margin: 22px auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 64px 0 0; } .steps li::before { top: -4px; }
  .menu { padding: 34px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- v2: language switch, FAQ, footer, sticky CTA, order flow ---- */
html[lang="en"] body { font-family: "Cormorant Garamond", serif; }
html[lang="en"] .hero h1, html[lang="en"] section.block h2, html[lang="en"] .design h3, html[lang="en"] .occasion h2, html[lang="en"] .order h1 { font-family: "Cormorant Garamond", serif; font-weight: 700; }
.lang { border: 1px solid var(--gold-soft); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 16px; font: 700 15px var(--body); cursor: pointer; }
.cta.big { font-size: 20px; padding: 18px 38px; border: 0; cursor: pointer; }
.choose { font-size: 26px; margin: 10px 0 18px; }
html[lang="en"] .choose { font-family: "Cormorant Garamond", serif; font-weight: 700; }
.hero.solo { grid-template-columns: 1fr; padding-bottom: 30px; }
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--gold-soft); border-radius: 10px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--gold); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); margin-top: 8px; }
.foot { border-top: 1px solid rgba(176, 138, 72, .3); padding: 50px 0 30px; text-align: start; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.foot h4 { font: 700 17px var(--body); margin-bottom: 8px; color: var(--ink); }
.foot a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 16px; margin: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot .brand { font-size: 30px; margin-bottom: 6px; display: block; }
.foot p { font-size: 15px; color: var(--ink-soft); }
.foot .ipa { font-family: monospace; font-size: 14px; word-break: break-all; }
.foot .copy { text-align: center; margin-top: 30px; font-size: 13px; }
.sticky-cta { display: none; }

.order { max-width: 640px; padding-bottom: 60px; }
.order h1 { font: 700 clamp(30px, 6vw, 42px)/1.25 var(--display); margin: 18px 0 22px; }
.progress { height: 4px; background: var(--gold-soft); border-radius: 4px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); transition: width .4s; }
.count { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.choices { display: grid; gap: 12px; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choices.grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: start; background: var(--card); border: 1.5px solid var(--gold-soft);
          border-radius: 12px; padding: 16px 18px; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.choice:hover { transform: translateY(-2px); border-color: var(--gold); }
.choice.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.choice b { font-size: 19px; } .choice span { font-size: 15px; color: var(--ink-soft); }
.choice video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.choices:not(.grid) .choice video { aspect-ratio: 16 / 10; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 15px; color: var(--ink-soft); margin-bottom: 6px; }
.field input { width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--gold-soft); border-radius: 10px; background: var(--card); color: var(--ink); }
.time-pick { display: flex; align-items: center; gap: 8px; }
.time-pick select { flex: 1; font: inherit; padding: 14px 10px; border: 1.5px solid var(--gold-soft); border-radius: 10px; background: var(--card); color: var(--ink); }
.field textarea { width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--gold-soft); border-radius: 10px; background: var(--card); color: var(--ink); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.ghost { background: none; border: 1.5px solid var(--gold-soft); color: var(--ink); border-radius: 999px; padding: 12px 22px; font: 700 16px var(--body); cursor: pointer; text-decoration: none; }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; background: var(--card); border: 1px solid var(--gold-soft); border-radius: 12px; padding: 18px 20px; }
.summary dd { color: var(--ink-soft); text-align: end; } .summary .price { font: 700 26px var(--display); color: var(--gold); }
.pay { margin-top: 22px; } .pay h2 { font: 700 26px var(--display); margin-bottom: 6px; } .pay p { color: var(--ink-soft); margin: 8px 0; }
.ipa-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ipa-qr { display: block; margin: 14px 0; border-radius: 10px; border: 1.5px solid var(--gold-soft); }
.ipa-row code { background: var(--card); border: 1.5px dashed var(--gold); border-radius: 10px; padding: 12px 16px; font-size: 16px; }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: block; position: fixed; inset: auto 0 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--paper) 35%); z-index: 9; }
  .sticky-cta .cta { width: 100%; justify-content: center; }
  body[data-page]:not([data-page="home"]):not([data-page="order"]) { padding-bottom: 90px; }
  .row, .choices.two { grid-template-columns: 1fr; }
  .nav .cta { flex: 1; justify-content: center; }
}

/* ---- preview: mobile polish ---- */
html[dir="ltr"] .steps li::before { content: counter(s); right: auto; left: 0; }
.menu dl { text-align: start; }
@media (max-width: 760px) {
  .hero { gap: 26px; }
  .hero .phone { order: 0; width: min(230px, 60vw); }
  .hero h1 { font-size: 40px; }
  html[dir="ltr"] .steps li { padding: 0 0 0 64px; }
  .designs, .occasions { grid-template-columns: 1fr 1fr; gap: 16px; }
  .design { padding: 8px 8px 12px; } .design h3 { font-size: 18px; } .design span { font-size: 13px; line-height: 1.4; display: block; }
  .occasion { padding: 8px 8px 14px; } .occasion h2 { font-size: 22px; } .occasion span { font-size: 13px; }
  .menu dt span { display: block; line-height: 1.45; } .menu dd { font-size: 24px; }
  .sticky-cta { transform: translateY(130%); transition: transform .3s; } .sticky-cta.show { transform: none; }
}

/* hero film volume icon (like a laptop speaker key) */
.phone .vol { position: absolute; top: 48px; right: 22px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 250, 241, .9); color: var(--ink); border: 1px solid var(--gold-soft); cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }

/* order flow v3: design -> package -> pay -> details */
.occ-head { font: 700 22px var(--display); margin: 22px 0 10px; }
html[lang="en"] .occ-head { font-family: "Cormorant Garamond", serif; }
.choice img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; margin-bottom: 6px; background: var(--gold-soft); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 6px; font-size: 16px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.agree a { color: var(--ink); text-decoration: underline; }
.agree-msg { color: #a3402f; font-size: 15px; margin: 4px 0; }
.cta.wide { width: 100%; justify-content: center; text-align: center; margin-top: 14px; }
.cta[aria-disabled="true"] { opacity: .45; }
.hint { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.sel { width: 100%; font: inherit; padding: 14px 12px; border: 1.5px solid var(--gold-soft); border-radius: 10px; background: var(--card); color: var(--ink); }
.done { text-align: center; padding: 40px 0; } .done .lead { margin: 10px auto; max-width: 34ch; } .done .ghost { display: inline-block; margin-top: 22px; }
/* terms page */
.terms { max-width: 720px; padding-bottom: 70px; } .terms h1 { font: 700 40px/1.2 var(--display); margin: 20px 0 8px; }
html[lang="en"] .terms h1, html[lang="en"] .terms h2 { font-family: "Cormorant Garamond", serif; }
.terms h2 { font: 700 22px var(--display); margin: 26px 0 6px; } .terms p { color: var(--ink-soft); } .terms .updated { font-size: 14px; }
@media (max-width: 760px) { .order .row { grid-template-columns: 1fr; gap: 0; } }

/* order v4: chosen design preview, who's ordering, congratulations */
.pick { width: min(180px, 46vw); margin: 0 auto 16px; } .pick video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; display: block; box-shadow: var(--shadow); }
.field-label { font-size: 15px; color: var(--ink-soft); margin: 8px 0 6px; }
.choices.three { grid-template-columns: repeat(3, 1fr); } .choice.role { align-items: center; text-align: center; padding: 14px 8px; } .choice.role b { font-size: 16px; }
.gift-note { background: var(--card); border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 14px; margin: 10px 0 16px; font-size: 16px; }
.congrats { font-size: clamp(34px, 8vw, 48px); }
.petals { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.petals i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 60% 40% 60% 40%; background: #f2b9c4; opacity: .8; animation: fall linear infinite; }
.petals i:nth-child(3n) { background: #f7d6c9; } .petals i:nth-child(4n) { width: 7px; height: 10px; }
@keyframes fall { to { transform: translate(40px, 110vh) rotate(540deg); } }
.order .done { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .petals { display: none; } }
.xopt { margin: 10px 0 6px; }

/* transfer screenshot upload on the pay step */
.shot { display: block; margin: 18px 0 4px; } .shot span { display: block; font-weight: 700; margin-bottom: 8px; }
.shot input { width: 100%; font: inherit; padding: 12px; border: 1.5px dashed var(--gold); border-radius: 10px; background: var(--card); }
.shot-ok { display: flex; align-items: center; gap: 12px; margin: 10px 0; color: var(--ink); } .shot-ok img { width: 56px; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gold-soft); }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.shot-x { margin-inline-start: auto; background: none; border: 1px solid var(--gold-soft); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
