/* ── Start-a-project slide-out drawer (global) ───────────────── */
.ds-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.ds-overlay.is-open { opacity: 1; pointer-events: auto; }

.ds-drawer {
  position: fixed; top: 50%; left: 50%; z-index: 1001;
  width: 560px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  background: rgba(26, 30, 46, .85); color: var(--dark-text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
  overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 56px 32px 36px;
  text-align: center;
}
.ds-drawer.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }

.ds-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.ds-close:hover { background: rgba(255, 255, 255, 0.14); }
.ds-close svg { width: 18px; height: 18px; stroke: var(--dark-text); fill: none; stroke-width: 2; stroke-linecap: round; }

.ds-eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: var(--decoded-orange); margin-bottom: var(--space-sm); }
.ds-title { font-size: clamp(24px, 5vw, 30px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: var(--space-xs); }
.ds-sub { font-size: var(--text-sm); color: rgba(240, 240, 242, 0.88); margin-bottom: var(--space-lg); line-height: 1.5; }

.ds-offer { margin-bottom: var(--space-lg); }
.ds-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 102, 0, 0.15); border: 1px solid rgba(255, 102, 0, 0.45); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.2px; }
.ds-pill svg { width: 14px; height: 14px; stroke: var(--decoded-orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ds-pill b { color: var(--decoded-orange); font-weight: 800; }
.ds-cap { font-size: 11.5px; color: rgba(240, 240, 242, 0.75); margin-top: 8px; }

.ds-form { display: flex; flex-direction: column; gap: 12px; }
.ds-fi {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--dark-border); border-radius: 0;
  background: var(--dark-glass, rgba(255,255,255,0.06)); color: #fff;
  font-family: inherit; font-size: 15px; text-align: center;
  outline: none; transition: border-color 0.2s;
}
.ds-fi::placeholder { color: rgba(240, 240, 242, 0.6); }
.ds-fi:focus { border-color: var(--decoded-orange); }
textarea.ds-fi { resize: vertical; min-height: 84px; }

.ds-submit {
  width: 100%; padding: 14px; margin-top: 4px;
  border: none; border-radius: 0; cursor: pointer;
  background: var(--decoded-orange); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.ds-submit:hover { background: var(--orange-l, #ff7f33); transform: translateY(-1px); }
.ds-submit:active { transform: scale(0.99); }
.ds-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.ds-note { font-size: 12px; color: rgba(240, 240, 242, 0.75); margin-top: 4px; }

.ds-success { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); padding-top: var(--space-2xl); }
.ds-success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 102, 0, 0.15); display: flex; align-items: center; justify-content: center; }
.ds-success-icon svg { width: 28px; height: 28px; stroke: var(--decoded-orange); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 480px) {
  .ds-drawer { width: calc(100vw - 24px); padding-left: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ds-drawer, .ds-overlay { transition: none; }
}
