/* Rose Bud — wine, blush and cream, taken from their logo and gift boxes. */
:root {
  --wine: #5b0e22;
  --wine-d: #3a0815;
  --wine-l: #7d1a33;
  --blush: #f7e1e4;
  --rose: #e7a3b1;
  --cream: #fbf6f0;
  --paper: #fffdfb;
  --ink: #2a0a12;
  --muted: #8a6a70;
  --gold: #c8a274;
  --line: rgba(91, 14, 34, .14);
  --r: 22px;
  --shadow: 0 30px 60px -30px rgba(58, 8, 21, .45);
  --disp: "Fraunces", "El Messiri", serif;
  --body: "Quicksand", "Tajawal", system-ui, sans-serif;
  --nav-h: 72px;
}
html[lang="ar"] { --disp: "El Messiri", "Fraunces", serif; --body: "Tajawal", "Quicksand", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--rose); color: var(--wine-d); }

.h2 { font-family: var(--disp); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.08; margin: .2em 0 .35em; letter-spacing: -.01em; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.3; }
.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 700; color: var(--wine-l); margin: 0; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; margin: 0 0 1.4em; }
.muted { color: var(--muted); font-weight: 400; }

/* buttons */
.btn { --bg: var(--wine); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.6em; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; box-shadow: 0 12px 28px -14px rgba(91, 14, 34, .8); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(91, 14, 34, .85); }
.btn:active { transform: translateY(0); }
.btn .arrow { font-style: normal; transition: transform .25s; display: inline-block; }
html[dir="ltr"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(-4px); }
html[dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-4px); }
.btn-ghost { --bg: transparent; --fg: var(--wine); box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn-ghost:hover { --bg: var(--wine); --fg: #fff; }
.btn-light { --bg: var(--blush); --fg: var(--wine-d); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-wa { --bg: #1f9d55; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link { background: none; border: 0; color: var(--wine); text-decoration: underline; cursor: pointer; padding: .5em; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--wine); display: grid; place-items: center; }
.loader-logo { width: min(230px, 52vw); display: grid; justify-items: center; gap: 14px; color: #fff; }
.loader svg { width: 100%; height: auto; overflow: visible; }
.loader svg path { fill: transparent; stroke: #fff; stroke-width: 2.2; }
.loader-word { width: 92%; filter: invert(1); opacity: 0; transform: translateY(10px); }
.loader-tag { width: 62%; filter: invert(1); opacity: 0; }

/* ---------- nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(16px, 4vw, 48px); transition: transform .4s, background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(251, 246, 240, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 42px; width: auto; }
.brand-word { height: 20px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1.5px; background: var(--wine); transform: scaleX(0); transition: transform .3s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--wine); background: transparent; color: var(--wine); font-weight: 700; cursor: pointer; font-family: "Tajawal", "Quicksand", sans-serif; }
.lang:hover { background: var(--wine); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 70px); padding: calc(var(--nav-h) + 30px) clamp(18px, 5vw, 80px) 70px; overflow: hidden; background:
  radial-gradient(60% 70% at 85% 30%, rgba(231, 163, 177, .38), transparent 70%),
  radial-gradient(50% 50% at 5% 90%, rgba(200, 162, 116, .16), transparent 70%), var(--cream); }
html[dir="rtl"] .hero { background:
  radial-gradient(60% 70% at 15% 30%, rgba(231, 163, 177, .38), transparent 70%),
  radial-gradient(50% 50% at 95% 90%, rgba(200, 162, 116, .16), transparent 70%), var(--cream); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--wine-l); margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 4px rgba(91, 14, 34, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(91, 14, 34, 0); } }
.hero-title { font-family: var(--disp); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.02; margin: 0 0 22px; color: var(--wine-d); letter-spacing: -.02em; }
html[lang="ar"] .hero-title { line-height: 1.32; letter-spacing: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .em { font-style: italic; color: var(--wine); }
html[lang="ar"] .hero-title .em { font-style: normal; color: var(--wine-l); }
.hero-title .w { display: inline-block; }
.hero-sub { font-size: 1.15rem; max-width: 31em; color: #5d3d44; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; padding: 0; margin: 40px 0 0; }
.hero-facts li { display: grid; padding-inline-start: 14px; border-inline-start: 2px solid var(--rose); }
.hero-facts b { font-family: var(--disp); font-size: 1.25rem; color: var(--wine); font-weight: 600; }
.hero-facts span { font-size: .85rem; color: var(--muted); max-width: 15em; line-height: 1.35; }

.hero-art { position: relative; height: min(78vh, 720px); min-height: 460px; }
.hero-stems { position: absolute; width: 70%; inset-inline-end: -8%; top: -6%; color: var(--wine); opacity: .14; }
.hero-stems path { fill: currentColor; }
.arch { position: absolute; inset-inline-start: 12%; top: 4%; width: 66%; height: 88%; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 10px rgba(255, 255, 255, .55); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: var(--shadow); width: 34%; }
.polaroid img { aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { position: absolute; bottom: 8px; inset-inline: 0; text-align: center; font-family: "Great Vibes", "Aref Ruqaa", cursive; font-size: 1.15rem; color: var(--wine); }
html[lang="ar"] .polaroid figcaption { font-family: "Aref Ruqaa", serif; font-size: 1rem; }
.p1 { inset-inline-end: 0; top: 10%; rotate: 7deg; }
.p2 { inset-inline-start: -2%; bottom: 2%; rotate: -6deg; width: 31%; }
.note-chip { position: absolute; inset-inline-end: 4%; bottom: 14%; display: flex; gap: 10px; align-items: center; background: var(--wine); color: #fff; padding: 12px 18px; border-radius: 18px 18px 4px 18px; box-shadow: var(--shadow); font-size: .92rem; max-width: 62%; }
html[dir="rtl"] .note-chip { border-radius: 18px 18px 18px 4px; }
.note-chip span:first-child { font-size: 1.2rem; }
.petals { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.petal { position: absolute; width: 14px; height: 18px; background: var(--rose); border-radius: 80% 10% 80% 10%; opacity: .55; }
.hero-copy, .hero-art { position: relative; z-index: 1; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--wine); display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--wine); animation: cue 1.6s infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- statement ---------- */
.statement { position: relative; height: 220vh; background: var(--cream); }
.statement-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.statement-img { position: absolute; width: 34vmin; height: 46vmin; border-radius: 999px 999px 24px 24px; overflow: hidden; }
.statement-img img { width: 100%; height: 100%; object-fit: cover; }
.statement-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 8, 21, .25), rgba(58, 8, 21, .75)); opacity: 0; }
.statement-text { position: relative; z-index: 2; color: #fff; font-family: var(--disp); font-size: clamp(2rem, 5.4vw, 4.8rem); line-height: 1.15; text-align: center; max-width: 15em; padding: 0 20px; margin: 0; }
html[lang="ar"] .statement-text { line-height: 1.45; }
.statement-text .w { display: inline-block; opacity: .08; }

/* ---------- marquee ---------- */
.marquee { background: var(--wine); color: var(--blush); overflow: hidden; padding: 20px 0; direction: ltr; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marq 40s linear infinite; font-family: var(--disp); font-size: clamp(1.4rem, 2.6vw, 2.2rem); white-space: nowrap; }
.marquee-track span { padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; }
.marquee-track span::after { content: "✿"; color: var(--rose); font-size: .8em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- signature box ---------- */
.box { background: var(--wine-d); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); padding: clamp(80px, 12vw, 160px) clamp(18px, 6vw, 100px); position: relative; overflow: hidden; }
.box::before { content: ""; position: absolute; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(231, 163, 177, .2), transparent 60%); inset-inline-start: -20vw; top: -20vw; }
.box .kicker { color: var(--rose); }
.box .lead { color: rgba(255, 255, 255, .72); }
.box-media { position: relative; }
.box-frame { position: sticky; top: 14vh; aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: 0 40px 80px -30px #000; }
.box-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s, transform 1.2s; }
.box-img.is-on { opacity: 1; transform: scale(1); }
.box-stamp { position: absolute; width: 110px; inset-inline-end: clamp(16px, 4vw, 60px); top: 50px; filter: invert(1); opacity: .9; animation: spin 24s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.box-copy { position: relative; align-self: center; }
.box-list { list-style: none; padding: 0; margin: 10px 0 40px; display: grid; gap: 4px; }
.box-list li { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; transition: background .4s, transform .4s, opacity .4s; opacity: .45; }
.box-list li.is-on { background: rgba(255, 255, 255, .08); opacity: 1; transform: translateX(-8px); }
html[dir="ltr"] .box-list li.is-on { transform: translateX(8px); }
.box-list .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(247, 225, 228, .12); font-size: 1.5rem; flex: none; }
.box-list b { display: block; font-family: var(--disp); font-size: 1.45rem; font-weight: 500; }
.box-list small { color: rgba(255, 255, 255, .65); font-size: .95rem; }

/* ---------- cakes gallery ---------- */
.cakes { background: var(--blush); position: relative; }
.cakes-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: var(--nav-h) 0 30px; }
.cakes-head { padding: 0 clamp(18px, 6vw, 100px); max-width: 900px; }
.cakes-head .lead { margin-bottom: 18px; }
.cakes-progress { height: 3px; width: 220px; background: rgba(91, 14, 34, .15); border-radius: 3px; overflow: hidden; }
.cakes-progress span { display: block; height: 100%; width: 0; background: var(--wine); }
.cakes-track { display: flex; gap: 28px; padding: 30px clamp(18px, 6vw, 100px) 20px; width: max-content; direction: ltr; }
html[dir="rtl"] .cakes-track { flex-direction: row-reverse; }
.cake-card { width: clamp(230px, 24vw, 330px); flex: none; direction: inherit; perspective: 900px; }
html[dir="rtl"] .cake-card { direction: rtl; }
.cake-card .tilt { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .2s ease-out; background: #fff; }
.cake-card img { width: 100%; height: 100%; object-fit: cover; }
.cake-card .tag { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(255, 255, 255, .92); color: var(--wine); font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.cake-card h3 { font-family: var(--disp); font-weight: 500; font-size: 1.2rem; margin: 14px 4px 0; color: var(--wine-d); }
.tilt.end { background: var(--wine); display: grid; place-content: center; justify-items: center; text-align: center; padding: 30px; gap: 18px; color: #fff; }
.tilt.end img { width: 90px; height: auto; filter: invert(1); }
.tilt.end p { font-family: var(--disp); font-size: 1.5rem; line-height: 1.3; margin: 0; }

/* ---------- how ---------- */
.how { padding: clamp(80px, 11vw, 140px) clamp(18px, 6vw, 100px); text-align: center; background: var(--cream); }
.how .h2 { margin-bottom: 50px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1150px; margin: 0 auto; text-align: start; }
.how-step { background: var(--paper); border-radius: var(--r); padding: 34px 30px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(58, 8, 21, .35); position: relative; overflow: hidden; }
.how-step .num { font-family: var(--disp); font-size: 4rem; line-height: 1; color: var(--blush); font-weight: 600; display: block; margin-bottom: 12px; -webkit-text-stroke: 1.5px var(--rose); }
.how-step h3 { font-family: var(--disp); font-weight: 500; font-size: 1.5rem; margin: 0 0 8px; color: var(--wine); }
.how-step p { margin: 0; color: var(--muted); }

/* ---------- order studio ---------- */
.order { padding: clamp(80px, 10vw, 130px) clamp(14px, 5vw, 80px); background:
  radial-gradient(50% 40% at 50% 0%, rgba(231, 163, 177, .35), transparent 70%), var(--paper); scroll-margin-top: 10px; }
.order-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.order-head .lead { margin-inline: auto; }
.closed-note, .owner-notice { background: var(--blush); color: var(--wine-d); padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.studio { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(20px, 3vw, 44px); max-width: 1200px; margin: 0 auto; align-items: start; }
.preview { position: sticky; top: calc(var(--nav-h) + 16px); }
.preview-card { background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.preview-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--disp); font-size: 1.3rem; color: var(--wine); }
.pv-ref { font-family: var(--body); font-size: .78rem; font-weight: 700; background: var(--blush); padding: 5px 11px; border-radius: 999px; }
.cake-svg { width: 100%; height: auto; margin: 6px 0 4px; overflow: visible; }
.cake-svg .frost { fill: var(--frost, #fff); stroke: rgba(0, 0, 0, .06); transition: fill .5s; }
.cake-svg .top { fill: var(--frost-top, #fff); }
.cake-svg .beads circle { fill: var(--bead, #fff); stroke: rgba(0, 0, 0, .07); transition: fill .5s; }
.cake-svg .writing { font-family: "Great Vibes", cursive; font-size: 26px; fill: var(--ink-c, #5b0e22); direction: ltr; }
.cake-svg .writing.ar { font-family: "Aref Ruqaa", serif; font-size: 22px; direction: rtl; }
.ticket { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; border-top: 1px dashed var(--line); padding-top: 14px; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; font-weight: 600; color: var(--wine-d); word-break: break-word; }
.ticket .empty { grid-column: 1/-1; color: var(--muted); text-align: center; font-weight: 500; }

.builder { background: #fff; border-radius: 28px; padding: clamp(20px, 3vw, 38px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(58, 8, 21, .4); min-width: 0; }
.steps-nav { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0 0 28px; counter-reset: s; }
.steps-nav li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid var(--blush); transition: color .3s, border-color .3s; cursor: pointer; }
.steps-nav li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); font-weight: 700; font-size: .8rem; flex: none; }
.steps-nav li em { font-style: normal; font-weight: 600; }
.steps-nav li.on, .steps-nav li.past { color: var(--wine); border-color: var(--wine); }
.steps-nav li.on span, .steps-nav li.past span { background: var(--wine); color: #fff; }
.step { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.step.is-on { display: block; animation: stepIn .45s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.step legend { font-family: var(--disp); font-size: 1.7rem; color: var(--wine-d); padding: 0; margin-bottom: 16px; }
.q { font-weight: 700; margin: 22px 0 10px; color: var(--wine-d); }

.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind-card { position: relative; display: grid; gap: 4px; border-radius: 20px; padding: 10px 10px 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .25s, transform .25s, background .25s; height: 100%; }
.kind-card img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin-bottom: 6px; }
.kind-card b { font-size: 1.02rem; color: var(--wine-d); }
.kind-card small { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.kind-card .badge { position: absolute; top: 16px; inset-inline-end: 16px; background: var(--wine); color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.kind input:checked + .kind-card { box-shadow: inset 0 0 0 2.5px var(--wine); background: #fff7f8; transform: translateY(-3px); }
.kind input:focus-visible + .kind-card { outline: 3px solid var(--rose); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: .93rem; transition: all .2s; background: #fff; }
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--rose); }
.chip input:checked + span { background: var(--wine); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.chips.tight .chip span { padding: 9px 13px; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { position: relative; display: grid; justify-items: center; gap: 5px; font-size: .75rem; color: var(--muted); cursor: pointer; width: 62px; text-align: center; line-height: 1.2; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { width: 42px; height: 42px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s; }
.sw input:checked + i { transform: scale(1.08); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wine); }
.sw input:checked ~ em { color: var(--wine); font-weight: 700; }
.sw em { font-style: normal; }
.sw input:focus-visible + i { outline: 3px solid var(--rose); outline-offset: 4px; }

.field { display: grid; gap: 7px; margin: 0 0 16px; position: relative; min-width: 0; }
.field > span { font-weight: 700; color: var(--wine-d); font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-radius: 14px; padding: 13px 15px; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; transition: box-shadow .2s, background .2s; min-height: 50px; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--wine); }
.field .count { position: absolute; inset-inline-end: 12px; bottom: 15px; color: var(--muted); font-size: .78rem; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; }
.field.bad input, .field.bad select, .field.bad textarea { box-shadow: inset 0 0 0 2px #c2334d; }
.idea-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.idea-chips button { border: 0; background: var(--blush); color: var(--wine); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.idea-chips button:hover { background: var(--rose); }

.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.drop { width: 100%; display: grid; justify-items: center; gap: 2px; text-align: center; padding: 18px 12px; border-radius: 18px; border: 1.5px dashed var(--rose); background: #fff9fa; cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover { background: var(--blush); border-color: var(--wine); }
.drop .plus { width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 6px; }
.drop b { color: var(--wine-d); font-size: .93rem; }
.drop small { color: var(--muted); font-size: .78rem; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumb { position: relative; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(42, 10, 18, .75); color: #fff; font-size: .8rem; cursor: pointer; line-height: 1; }
.thumb.loading { display: grid; place-items: center; background: var(--blush); }
.thumb.loading::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--wine); border-top-color: transparent; animation: spin .8s linear infinite; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toggle-row { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1.5px var(--line); margin: 4px 0 18px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: all .25s; }
.seg input:checked + span { background: var(--wine); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--rose); }
.hint { color: var(--muted); font-size: .9rem; background: var(--cream); border-radius: 12px; padding: 12px 14px; margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-error { color: #a3203b; background: #fdeef1; border-radius: 12px; padding: 12px 14px; font-weight: 600; margin: 18px 0 0; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.step-actions #nextBtn, .step-actions #sendBtn { margin-inline-start: auto; }

.done { grid-column: 2; background: #fff; border-radius: 28px; padding: clamp(30px, 5vw, 60px); text-align: center; box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; justify-items: center; gap: 6px; }
.done-mark { width: 90px; margin-bottom: 10px; }
.done h3 { font-family: var(--disp); font-size: 2.2rem; font-weight: 500; margin: 0; color: var(--wine-d); }
.done-ref { font-size: 1.1rem; margin: 4px 0; }
.done-ref b { background: var(--blush); color: var(--wine); padding: 4px 12px; border-radius: 8px; letter-spacing: .05em; direction: ltr; display: inline-block; }
.done p { max-width: 28em; color: var(--muted); }
.done .btn-wa { font-size: 1.1rem; margin: 10px 0 4px; }

/* ---------- delivery ---------- */
.deliver { background: var(--wine); color: #fff; text-align: center; padding: clamp(70px, 9vw, 110px) 20px; }
.deliver .lead { color: rgba(255, 255, 255, .7); margin: 26px auto 0; }
.emirates { list-style: none; padding: 0; margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; }
.emirates li { padding: 10px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(247, 225, 228, .35); font-weight: 600; }

/* ---------- footer ---------- */
.foot { background: var(--wine-d); color: rgba(255, 255, 255, .8); display: grid; justify-items: center; gap: 12px; padding: 70px 20px 110px; text-align: center; }
.foot-logo { width: 90px; filter: invert(1); }
.foot-word { width: 180px; filter: invert(1); }
.foot-tag { width: 130px; filter: invert(1); opacity: .7; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.foot-links a { text-decoration: none; font-weight: 600; color: var(--blush); }
.foot-small { font-size: .82rem; opacity: .6; margin-top: 18px; }

.wa-float { position: fixed; inset-inline-end: 20px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 16px); gap: 30px; }
  .hero-art { height: 108vw; max-height: 600px; min-height: 0; }
  .box { grid-template-columns: 1fr; }
  .box-frame { position: relative; top: 0; max-width: 460px; margin: 0 auto; }
  .studio { grid-template-columns: 1fr; }
  .preview { position: relative; top: 0; }
  .done { grid-column: 1; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .brand-mark { height: 36px; }
  .brand-word { height: 17px; }
  .nav .btn-sm { display: none; }
  .hero-facts { gap: 16px; }
  .hero-facts li { flex: 1 1 40%; }
  .note-chip { font-size: .8rem; padding: 10px 14px; bottom: 6%; }
  .kinds { grid-template-columns: 1fr; }
  .kind-card { grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
  .kind-card img { grid-row: span 2; margin: 0; }
  .kind-card .badge { top: 8px; inset-inline-end: 8px; }
  .uploads, .row2 { grid-template-columns: 1fr; }
  .steps-nav li em { display: none; }
  .steps-nav li { justify-content: center; }
  .preview-card { padding: 14px 16px; display: grid; grid-template-columns: 130px 1fr; gap: 6px 14px; align-items: center; }
  .preview-top { grid-column: 1/-1; font-size: 1.1rem; }
  .cake-svg { margin: 0; }
  .ticket { border: 0; padding: 0; font-size: .8rem; gap: 3px 10px; }
  .mobile-bar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 39; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--cream) 60%, transparent); transition: transform .35s; }
  .mobile-bar .btn { width: calc(100% - 70px); }
  .mobile-bar.is-off { transform: translateY(110%); }
  .wa-float { bottom: calc(14px + env(safe-area-inset-bottom)); inset-inline-end: 14px; width: 52px; height: 52px; }
  .step-actions .btn { padding: .9em 1.3em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .statement { height: auto; }
  .statement-pin { position: relative; }
}
