@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Great+Vibes&family=Montserrat:wght@500;600;700&display=swap');

:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --gold: #d9b45a;
  --gold-2: #f3dc94;
  --cream: #fbf7ee;
  --ink: #1c2433;
  --muted: #5c6678;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--navy);
  color: var(--ink);
  font-family: Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Home: the approved flyer with clickable areas ---------- */
.flyer-page {
  background:
    radial-gradient(ellipse at top, #1d3a66 0%, transparent 60%),
    var(--navy);
  min-height: 100vh;
}
.flyer {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  line-height: 0;
}
.flyer__img { display: block; width: 100%; height: auto; }
@media (min-width: 700px) {
  .flyer { margin: 24px auto; box-shadow: 0 30px 80px rgba(0,0,0,.45); border-radius: 14px; overflow: hidden; }
}
.hot {
  position: absolute;
  left: calc(var(--x) / 1024 * 100%);
  top: calc(var(--y) / 1536 * 100%);
  width: calc(var(--w) / 1024 * 100%);
  height: calc(var(--h) / 1536 * 100%);
  border-radius: 2.2% / 3.4%;
  transition: box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: rgba(243, 220, 148, .25);
}
.hot--round { border-radius: 50%; }
.hot:hover { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 2px rgba(243, 220, 148, .7); }
.hot:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.legal {
  margin: 0; padding: 14px 16px 24px; text-align: center;
  color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .04em;
}

/* ---------- Form pages ---------- */
.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(11,31,58,.0) 0, var(--cream) 340px),
    linear-gradient(160deg, #f6d7b0 0%, #c9e3ea 55%, #9fd0d6 100%);
}
.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 40px; }
.back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 8px 0;
}
.back:hover { text-decoration: underline; }
.hero { text-align: center; padding: 8px 0 18px; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); box-shadow: 0 8px 24px rgba(11,31,58,.25);
}
.sig { font-family: 'Great Vibes', cursive; font-size: 40px; color: var(--navy); margin: 6px 0 0; line-height: 1.1; font-weight: 400; }
.brk { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0; }

.card {
  background: var(--navy);
  color: #fff;
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  padding: 26px 22px 24px;
  box-shadow: 0 20px 50px rgba(11,31,58,.3);
}
.card h2 {
  margin: 0; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; line-height: 1.2;
}
.card .lead {
  margin: 8px 0 20px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--gold-2); line-height: 1.3;
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,.9); }
.field label .opt { font-weight: 500; color: rgba(255,255,255,.55); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 12px 14px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  width: 100%; margin-top: 6px; padding: 15px 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 17px Montserrat, sans-serif; color: var(--navy); text-decoration: none;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 70%, #c49a3e);
  box-shadow: 0 6px 18px rgba(217,180,90,.35), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn:hover { filter: brightness(1.05); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fine { font-size: 12px; color: rgba(255,255,255,.6); margin: 14px 0 0; text-align: center; line-height: 1.5; }
.hidden { display: none; }

.contact {
  text-align: center; margin-top: 24px; color: var(--navy); font-size: 15px; line-height: 1.8;
}
.contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact .brk { margin-top: 10px; }
.form-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,120,120,.15); color: #ffd6d6; font-size: 14px; text-align: center; }
.form-error a { color: #fff; font-weight: 700; }
.btn:disabled { opacity: .7; cursor: wait; }
