/* صفحة "ابدأ مشروعك" — نفس روح صفحة الرأي، مع اختيارات سريعة بدل الكتابة */
.st { width: min(100% - 32px, 760px); }
.st__brand { color: var(--ink); display: inline-flex; }
.st__brand .brand__sig { margin-top: 0; height: 40px; }
.st__kicker { margin: 0; font-size: .78rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--brick); }
html[lang="ar"] .st__kicker { letter-spacing: 0; font-size: .95rem; }
.st__group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.st__group legend { font-weight: 500; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.st__group legend em { font-style: normal; font-weight: 300; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-size: .95rem; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: #FFF8E8; }
.chip:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.st__privacy { margin: 0; font-size: .88rem; color: var(--ink-soft); font-weight: 300; }
.st__privacy::before { content: "🔒 "; }

/* ===== كارت بوستال فينتدج ===== */
.st { width: min(100% - 32px, 1080px); }
.pc__intro { max-width: 640px; margin: 0 0 26px; display: grid; gap: 12px; }
.pc__intro h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
.pc { perspective: 1600px; }
.pc__card {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; transform: rotate(-.6deg);
  background: #FBF5E6; border-radius: 6px; padding: 18px;
  box-shadow: 0 50px 90px -50px rgba(70, 45, 20, .55), 0 14px 30px -18px rgba(70, 45, 20, .35);
  transition: transform 1s cubic-bezier(.5, -.2, .6, 1), opacity .9s ease;
}
/* إطار البريد الجوي المخطط */
.pc__card::before {
  content: ""; position: absolute; inset: 0; border-radius: 6px; padding: 9px; pointer-events: none;
  background: repeating-linear-gradient(135deg, #B4532F 0 16px, #FBF5E6 16px 26px, #5E8F8B 26px 42px, #FBF5E6 42px 52px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .85;
}
/* ملمس الورق */
.pc__card::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: 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='.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pc__msg, .pc__addr { position: relative; z-index: 1; padding: clamp(20px, 3vw, 34px); display: grid; gap: 20px; align-content: start; }
.pc__addr { border-inline-start: 1.5px solid #D9CBB0; padding-top: 30px; }
.pc .chip { background: transparent; border-color: #CDBD9E; }
.pc .chip[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); }
/* سطور الكتابة زي الكارت */
.pc__lined textarea {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 2px !important; box-shadow: none !important;
  line-height: 32px; min-height: 162px;
  background-image: repeating-linear-gradient(transparent 0 31px, #D9CBB0 31px 32px) !important; background-attachment: local !important;
}
.pc__line { gap: 2px !important; }
.pc__line span { font-size: .8rem; color: var(--ink-soft); font-weight: 400; }
.pc__line input {
  background: transparent !important; border: 0 !important; border-bottom: 1.5px solid #CDBD9E !important; border-radius: 0 !important;
  padding: 6px 2px !important; box-shadow: none !important; font-size: 1.05rem;
}
.pc__line input:focus { border-bottom-color: var(--sage) !important; }
/* الطابع */
.pc__stamp {
  position: relative; justify-self: end; width: 104px; height: 124px; padding: 8px; transform: rotate(3deg); margin-bottom: -6px;
  background: #F7F0DE; box-shadow: 0 3px 6px -2px rgba(70, 45, 20, .3);
}
/* حواف الطابع المخرّمة: دواير بلون الكارت على الأطراف بس */
.pc__stamp::before {
  content: ""; position: absolute; inset: -4px; pointer-events: none;
  background:
    radial-gradient(circle, #FBF5E6 3.6px, transparent 4.2px) 0 0 / 12px 8px repeat-x,
    radial-gradient(circle, #FBF5E6 3.6px, transparent 4.2px) 0 100% / 12px 8px repeat-x,
    radial-gradient(circle, #FBF5E6 3.6px, transparent 4.2px) 0 0 / 8px 12px repeat-y,
    radial-gradient(circle, #FBF5E6 3.6px, transparent 4.2px) 100% 0 / 8px 12px repeat-y;
}
.pc__stamp span {
  display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 6px; color: #FFF6DE; font-size: .62rem; font-weight: 600;
  letter-spacing: .08em; line-height: 1.15; text-transform: uppercase;
  background: linear-gradient(transparent 45%, rgba(30, 18, 8, .75)), url(/img/studio-640.webp) 30% center / cover;
}
html[dir="rtl"] .pc__stamp { justify-self: start; }
/* الختم: بيظهر لما الكارت يتبعت */
.pc__postmark {
  position: absolute; top: 34px; inset-inline-end: 70px; width: 210px; color: #B4532F; opacity: 0; pointer-events: none;
  transform: rotate(-14deg) scale(1.7); transition: opacity .25s, transform .35s cubic-bezier(.2, .9, .3, 1.4); mix-blend-mode: multiply;
}
.pc__to { margin: 0; display: grid; gap: 2px; font-size: .95rem; }
.pc__to span, .pc__from { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #8A5A3B; margin: 0; }
.pc__to strong { font-size: 1.25rem; font-weight: 600; }
.pc__to em { font-style: normal; color: var(--ink-soft); font-weight: 300; }
html[lang="ar"] .pc__to span, html[lang="ar"] .pc__from { letter-spacing: 0; font-size: .85rem; }
.pc .rv__submit { justify-self: stretch; }
/* بعد الإرسال: ختم ثم الكارت يطير */
.pc.is-stamped .pc__postmark { opacity: .8; transform: rotate(-14deg) scale(1); }
.pc.is-flying .pc__card { transform: translate(60vw, -40vh) rotate(18deg) scale(.6); opacity: 0; }
html[dir="rtl"] .pc.is-flying .pc__card { transform: translate(-60vw, -40vh) rotate(-18deg) scale(.6); }
@media (max-width: 820px) {
  .pc__card { grid-template-columns: 1fr; transform: none; padding: 12px; }
  .pc__addr { border-inline-start: 0; border-top: 1.5px dashed #D9CBB0; }
  .pc__stamp { width: 88px; height: 106px; position: absolute; top: -14px; inset-inline-end: 18px; }
  .pc__postmark { top: -6px; inset-inline-end: 40px; width: 170px; }
}
@media (prefers-reduced-motion: reduce) { .pc__card, .pc__postmark { transition: none; } }
