.rrq-questionnaire {
  --rrq-wine: #6e3545;
  --rrq-dark: #45232d;
  --rrq-rose: #b86c76;
  --rrq-blush: #fbeeea;
  --rrq-border: #dfb6b2;
  --rrq-cream: #fffaf0;
  position: relative;
  max-width: 780px;
  margin: 3rem auto;
  padding: clamp(1.5rem, 6vw, 4rem);
  color: #3f3032;
  background: var(--rrq-cream);
  border: 1px solid var(--rrq-border);
  box-shadow: 0 18px 50px rgba(92, 52, 59, .11);
  font-family: Georgia, "Times New Roman", serif;
}

.rrq-questionnaire::before {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border: 1px solid #f1d6d2;
}

.rrq-questionnaire > * { position: relative; }
.rrq-header, .rrq-success { margin-bottom: 2.5rem; text-align: center; }
.rrq-header h2, .rrq-success h2 {
  margin: 0 0 .75rem;
  color: var(--rrq-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}
.rrq-header > p:last-child, .rrq-success p { max-width: 570px; margin: 0 auto; color: #7d6568; font-style: italic; }
.rrq-kicker { margin: 0 0 .6rem; color: var(--rrq-rose); font-family: Montserrat, Arial, sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.rrq-ornament { display: flex; align-items: center; gap: .75rem; max-width: 280px; margin: 0 auto 1.4rem; color: #ad865b; }
.rrq-ornament::before, .rrq-ornament::after { content: ""; flex: 1; height: 1px; background: var(--rrq-border); }
.rrq-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rrq-form p { margin: 0 0 1.5rem; }
.rrq-form label { display: block; margin-bottom: .45rem; color: var(--rrq-dark); font-family: Montserrat, Arial, sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rrq-form label small { color: #7d6568; font-size: .82em; font-weight: 500; letter-spacing: 0; text-transform: none; }
.rrq-question label span { color: var(--rrq-rose); }
.rrq-form input, .rrq-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: .8rem 1rem;
  color: #3f3032;
  background: #fffdf8;
  border: 1px solid var(--rrq-border);
  border-radius: 0;
  font: inherit;
}
.rrq-form textarea { resize: vertical; }
.rrq-form input:focus, .rrq-form textarea:focus { outline: 2px solid rgba(184, 108, 118, .3); outline-offset: 2px; }
.rrq-submit { padding-top: .5rem; text-align: center; }
.rrq-submit button {
  padding: .9rem 1.6rem;
  color: var(--rrq-cream);
  background: var(--rrq-wine);
  border: 1px solid var(--rrq-wine);
  border-radius: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}
.rrq-submit button:hover, .rrq-submit button:focus { color: var(--rrq-wine); background: transparent; }
.rrq-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .rrq-contact-grid { grid-template-columns: 1fr; gap: 0; }
  .rrq-questionnaire { margin: 1.5rem auto; }
}

/* Faustine gamer / tech presentation */
.rrq-questionnaire {
  --rrq-wine: #8f2f6d;
  --rrq-dark: #2c1738;
  --rrq-rose: #ed5fa8;
  --rrq-blush: #ffe7f5;
  --rrq-border: #f49ac9;
  --rrq-cream: #fffaff;
  overflow: hidden;
  color: #382743;
  background:
    linear-gradient(rgba(237,95,168,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237,95,168,.04) 1px, transparent 1px),
    var(--rrq-cream);
  background-size: 22px 22px, 22px 22px, auto;
  border: 2px solid var(--rrq-border);
  border-radius: 16px;
  box-shadow: 8px 8px 0 rgba(44, 23, 56, .16), 0 28px 80px rgba(28, 10, 43, .28);
  font-family: Nunito, Arial, sans-serif;
}
.rrq-questionnaire::before { inset: 8px; border: 1px dashed rgba(237,95,168,.32); border-radius: 10px; }
.rrq-window-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: clamp(-4rem, -6vw, -1.5rem) clamp(-4rem, -6vw, -1.5rem) 2rem;
  padding: .7rem 1rem;
  color: #ffd9f0;
  background: #2c1738;
  border-bottom: 3px solid #ed5fa8;
  font-family: "Pixelify Sans", "Courier New", monospace;
  font-size: .75rem;
}
.rrq-window-bar span { margin-right: auto; }
.rrq-window-bar i { display: block; width: 10px; height: 10px; background: #ff78bd; border-radius: 2px; box-shadow: 2px 2px 0 #6d2458; }
.rrq-window-bar i:nth-last-child(2) { background: #b888ff; }
.rrq-window-bar i:last-child { background: #72edb0; }
.rrq-header h2, .rrq-success h2 { font-family: "Pixelify Sans", "Courier New", monospace; font-weight: 600; text-shadow: 3px 3px 0 #ffd2ea; }
.rrq-header > p:last-child, .rrq-success p { font-style: normal; font-weight: 700; }
.rrq-kicker, .rrq-form label { font-family: "Pixelify Sans", "Courier New", monospace; }
.rrq-ornament { color: #9c55d8; font-family: "Pixelify Sans", "Courier New", monospace; font-weight: 700; }
.rrq-ornament::before, .rrq-ornament::after { height: 2px; background: repeating-linear-gradient(90deg, var(--rrq-border) 0 6px, transparent 6px 11px); }
.rrq-question { margin: 0; }
.rrq-question label { margin-bottom: .8rem; color: var(--rrq-dark); font-size: clamp(.9rem, 2vw, 1.1rem); line-height: 1.45; letter-spacing: .02em; text-transform: none; }
.rrq-question label span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: .4rem; color: #fff; background: var(--rrq-rose); border-radius: 7px; box-shadow: 3px 3px 0 var(--rrq-wine); }
.rrq-feedback { min-height: 1.5em; margin: .55rem 0 0; font-family: "Pixelify Sans", "Courier New", monospace; font-size: .78rem; font-weight: 600; }
.rrq-feedback.is-checking { color: #755f80; }
.rrq-feedback.is-correct { color: #168352; }
.rrq-feedback.is-wrong { color: #b11f62; }
.rrq-question.is-wrong { animation: rrq-nope .28s ease; }
.rrq-form input, .rrq-form textarea { background: #fff; border: 2px solid #e4a4ce; border-radius: 9px; box-shadow: inset 0 2px 5px rgba(87,39,78,.06); }
.rrq-form textarea { min-height: 135px; }
.rrq-form input:focus, .rrq-form textarea:focus { border-color: var(--rrq-rose); outline: 4px solid rgba(237,95,168,.16); }
.rrq-submit button, .rrq-step-actions button {
  padding: .85rem 1.15rem;
  color: #fff;
  background: var(--rrq-wine);
  border: 2px solid var(--rrq-dark);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--rrq-dark);
  font-family: "Pixelify Sans", "Courier New", monospace;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.rrq-submit button:hover, .rrq-submit button:focus, .rrq-step-actions button:hover, .rrq-step-actions button:focus { color: #fff; background: var(--rrq-rose); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--rrq-dark); }
.rrq-step-actions { display: flex; justify-content: flex-end; gap: .8rem; margin-top: 1.3rem; }
.rrq-step-actions .rrq-back { margin-right: auto; color: var(--rrq-dark); background: #ffe1f2; }
.rrq-step-actions button:disabled { opacity: .6; cursor: wait; transform: none; }
.rrq-progress-copy { display: flex; justify-content: flex-end; gap: .35rem; max-width: 520px; margin: 1.4rem auto .35rem; color: #745d7b; font-family: "Pixelify Sans", "Courier New", monospace; font-size: .72rem; }
.rrq-progress-copy span { margin-right: auto; }
.rrq-progress { overflow: hidden; max-width: 520px; height: 10px; margin: 0 auto; background: #f1d6e8; border: 2px solid #cc75aa; border-radius: 3px; }
.rrq-progress span { display: block; height: 100%; background: repeating-linear-gradient(90deg, #ed5fa8 0 14px, #ff9dd0 14px 20px); transition: width .3s ease; }

.rrq-overlay {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 1.25rem;
  background: rgba(22, 10, 32, .84);
  -webkit-backdrop-filter: blur(7px) saturate(.7);
  backdrop-filter: blur(7px) saturate(.7);
  animation: rrq-fade-in .35s ease both;
}
.rrq-overlay::before {
  content: "01001000 01001001";
  position: fixed;
  right: 2vw;
  bottom: 2vh;
  color: rgba(255, 157, 208, .13);
  font-family: "Pixelify Sans", monospace;
  font-size: clamp(2rem, 8vw, 7rem);
  transform: rotate(-5deg);
}
.rrq-gate { width: min(680px, 100%); max-width: 680px; margin: auto; padding: clamp(1.25rem, 5vw, 3rem); animation: rrq-pop-in .45s cubic-bezier(.2, .9, .25, 1.25) both; }
.rrq-gate .rrq-window-bar { margin: clamp(-3rem, -5vw, -1.25rem) clamp(-3rem, -5vw, -1.25rem) 1.4rem; }
.rrq-gate .rrq-header { margin-bottom: 1.6rem; }
.rrq-gate .rrq-header h2 { font-size: clamp(2.2rem, 7vw, 3.9rem); }
.rrq-gate .rrq-question[hidden] { display: none !important; }
.rrq-site-locked, .rrq-site-locked body { overflow: hidden !important; }
.rrq-overlay.is-unlocking { pointer-events: none; animation: rrq-unlock .4s ease both; }

.rrq-music-toggle {
  position: fixed;
  z-index: 99990;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  color: #fff;
  background: #8f2f6d;
  border: 2px solid #2c1738;
  border-radius: 9px;
  box-shadow: 4px 4px 0 #2c1738;
  font-family: "Pixelify Sans", "Courier New", monospace;
  font-size: .72rem;
  line-height: 1;
  cursor: pointer;
}
.rrq-music-toggle[hidden] { display: none !important; }
.rrq-music-toggle:hover, .rrq-music-toggle:focus { background: #ed5fa8; transform: translate(2px, 2px); box-shadow: 2px 2px 0 #2c1738; }
.rrq-music-toggle span { display: grid; place-items: center; width: 24px; height: 24px; color: #8f2f6d; background: #ffd4eb; border-radius: 50%; font-size: 1rem; }
.rrq-music-toggle.is-playing span { animation: rrq-music-pulse 1s ease-in-out infinite alternate; }
.rrq-music-toggle b { font-weight: 600; }

@keyframes rrq-fade-in { from { opacity: 0; } }
@keyframes rrq-pop-in { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes rrq-nope { 25% { transform: translateX(-7px); } 50% { transform: translateX(7px); } 75% { transform: translateX(-3px); } }
@keyframes rrq-unlock { to { opacity: 0; transform: scale(1.04); filter: blur(7px); } }
@keyframes rrq-music-pulse { to { transform: scale(1.13) rotate(8deg); } }

@media (max-width: 600px) {
  .rrq-overlay { align-items: start; padding: .65rem; }
  .rrq-gate { margin: .4rem auto; }
  .rrq-window-bar { font-size: .62rem; }
  .rrq-step-actions { flex-wrap: wrap; }
  .rrq-step-actions button { flex: 1; min-width: 140px; }
  .rrq-music-toggle { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .rrq-overlay, .rrq-gate { animation: none; }
  .rrq-progress span { transition: none; }
}
