/* ============================================================
   Ashley's Bat Mitzvah — Save the Date
   Palette: purple / teal / white
   Mobile-first. No JavaScript, no build step.
   ============================================================ */

:root {
  --purple-deep: #3D1D63;
  --purple:      #6B3FA0;
  --purple-soft: #A87FD1;
  --teal-deep:   #0D6E75;
  --teal:        #159AA3;
  --teal-soft:   #5FCBD1;

  --ink:         #2A1B3D;
  --ink-soft:    #5F5175;
  --cream:       #FBF9FD;
  --tint:        #F3EEF9;
  --line:        #E5DCF0;
  --white:       #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(61, 29, 99, .07);
  --shadow-md: 0 10px 30px rgba(61, 29, 99, .12);
  --shadow-lg: 0 24px 60px rgba(20, 10, 40, .30);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  background:
    radial-gradient(120% 90% at 15% 0%,  rgba(168,127,209,.55) 0%, rgba(168,127,209,0) 55%),
    radial-gradient(110% 80% at 90% 100%, rgba(95, 203, 209,.45) 0%, rgba(95,203,209,0) 55%),
    linear-gradient(155deg, var(--purple-deep) 0%, var(--purple) 45%, var(--teal-deep) 100%);
  color: var(--white);
  padding: 64px 0 72px;
}

.hero__inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

/* Photo — white matte frame, portrait crop weighted toward the face */
.hero__photo {
  flex-shrink: 0;
  background: var(--white);
  padding: 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}

.hero__photo img {
  width: 236px;
  height: 300px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.hero__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(56px, 17vw, 96px);
  line-height: .95;
  letter-spacing: -.01em;
}

.hero__sub {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 5vw, 25px);
  color: rgba(255, 255, 255, .88);
}

.hero__date {
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__day {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.hero__full {
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
}

.hero__place {
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn--solid {
  background: var(--white);
  color: var(--purple-deep);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255, 255, 255, .10);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .5);
}

.btn:hover  { transform: translateY(-2px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn:focus-visible {
  outline: 3px solid var(--teal-soft);
  outline-offset: 3px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 68px 0; }

.section--tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__title {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 8vw, 42px);
  color: var(--purple-deep);
}

/* Small teal rule under each section heading */
.section__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple-soft), var(--teal));
}

.section__lede {
  max-width: 620px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 17px;
  color: var(--ink-soft);
}


/* ============================================================
   VENUE CARDS
   ============================================================ */

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.card__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.card__venue {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.25;
  color: var(--purple-deep);
}

.card__addr {
  margin: 12px 0 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.card__time {
  margin: 16px 0 0;
  font-size: 14px;
  font-style: italic;
  color: var(--purple-soft);
}

.card__map {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(21, 154, 163, .3);
  padding-bottom: 2px;
}

.card__map:hover { border-bottom-color: var(--teal); }


/* ============================================================
   NOTES
   ============================================================ */

.note {
  max-width: 560px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}


/* ============================================================
   FORM
   ============================================================ */

/* Google Form embed.
   A cross-origin iframe can't report its own height, so these values are
   set by hand: the form's measured height plus ~125px of headroom for the
   validation messages Google appends on a failed submit. Extra height is
   nearly invisible (the form's background is white like the iframe's), so
   when in doubt go taller — the failure mode is a scrollbar inside a
   scrollbar. Re-measure and bump these if questions are added to the form,
   or if its title or description grows another line. */
.form-embed {
  display: block;
  width: 100%;
  max-width: 680px;
  height: 1900px;
  margin: 36px auto 0;
  border: none;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-fallback {
  margin: 18px auto 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.form-fallback a {
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 154, 163, .35);
}

.form-fallback a:hover { border-bottom-color: var(--teal); }


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 56px 0 64px;
  text-align: center;
  background: var(--purple-deep);
  color: rgba(255, 255, 255, .75);
}

.footer__q {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--white);
}

.footer__mail { margin: 10px 0 0; }

.footer__mail a {
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 203, 209, .4);
  padding-bottom: 2px;
}

.footer__mail a:hover { color: var(--white); }

.footer__meta {
  margin: 30px 0 0;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}


/* ============================================================
   DESKTOP
   ============================================================ */

@media (min-width: 760px) {

  .hero { padding: 88px 0 96px; }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    text-align: left;
  }

  .hero__photo img { width: 290px; height: 372px; }

  .hero__date { align-items: flex-start; }

  .hero__actions { justify-content: flex-start; }

  .section { padding: 88px 0; }

  .cards { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Form is shorter at full width — fields stop wrapping */
  .form-embed { height: 1740px; }
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
