:root {
  --pink: #e9b8c4;
  --pink-soft: #f7e7eb;
  --ivory: #fffaf0;
  --brown: #5d3a2a;
  --brown-deep: #3f261c;
  --tan: #d6b89b;
  --cream: #f6efe4;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(93, 58, 42, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--brown-deep);
  background: var(--ivory);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 5vw, 76px);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(93, 58, 42, 0.08);
}
.brand { display: flex; align-items: center; gap: 16px; line-height: 1.05; }
.brand-logo { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(233,184,196,.55); background: white; box-shadow: 0 8px 18px rgba(93,58,42,.08); }
.brand strong { display: block; font-family: "Playfair Display", serif; font-size: 27px; }
.brand small { display: block; font-size: 16px; letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-cta { padding: 10px 17px; border-radius: 999px; background: var(--brown); color: white; }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 7vw, 100px);
  align-items: center;
  padding: clamp(68px, 9vw, 120px) clamp(22px, 7vw, 110px);
  overflow: hidden;
}
.eyebrow, .section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9b5d6d;
  margin-bottom: 14px;
}
.hero h1, h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.02;
  margin: 0;
}
.hero h1 { font-size: clamp(54px, 7vw, 104px); letter-spacing: -.035em; }
.hero-copy > p { font-size: clamp(17px, 1.55vw, 21px); max-width: 640px; margin: 28px 0 0; color: #684b3d; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font: inherit;
}
.button-primary { background: var(--brown); color: white; box-shadow: 0 12px 30px rgba(93,58,42,.18); }
.button-primary:hover { background: var(--brown-deep); }
.button-secondary { background: transparent; color: var(--brown); border-color: rgba(93,58,42,.22); }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; font-weight: 700; color: #876757; }

.hero-art { position: relative; min-height: 560px; }
.logo-showcase { position: absolute; left: -4px; top: 66px; width: 460px; height: 460px; padding: 20px; background: rgba(255,253,248,.98); border-radius: 50%; box-shadow: var(--shadow); border: 1px solid rgba(93,58,42,.08); transform: none; z-index: 3; display: flex; align-items: center; justify-content: center; }
.logo-showcase img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sun {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: var(--pink);
  right: -10px;
  top: 90px;
  opacity: .95;
  overflow: hidden;
}
.hero-puppy-face {
  position: absolute;
  width: 100%;
  max-width: none;
  right: -1%;
  bottom: -2%;
  z-index: 1;
  filter: drop-shadow(0 14px 20px rgba(93, 58, 42, 0.11));
}
.arch { display: none; }
.arch-one, .arch-two { display: none; }
.paw { position: absolute; font-size: 28px; opacity: .55; }
.paw-1 { left: 6px; bottom: 44px; transform: rotate(-18deg); }
.paw-2 { right: 235px; top: 40px; transform: rotate(20deg); }
.paw-3 { right: 18px; top: 255px; transform: rotate(-12deg); }

.strip {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
  padding: 84px clamp(22px, 7vw, 110px);
  background: var(--brown);
  color: white;
}
.strip .section-kicker { color: #f0cbd3; }
.strip h2 { font-size: clamp(38px, 4.5vw, 66px); }
.strip p { margin: 4px 0 0; font-size: 18px; color: #f5eae3; max-width: 680px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 80px clamp(22px, 7vw, 110px);
}
.features article { background: var(--white); border: 1px solid rgba(93,58,42,.08); border-radius: 24px; padding: 30px; }
.feature-icon { font-size: 28px; }
.features h3 { margin: 18px 0 8px; font-family: "Playfair Display", serif; font-size: 24px; }
.features p { margin: 0; color: #74594c; }

.event {
  margin: 0 clamp(22px, 7vw, 110px) 90px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 34px;
  background: linear-gradient(140deg, #f3d6de 0%, #f8eee3 100%);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(93,58,42,.08);
}
.event-badge {
  width: 170px; height: 200px; border-radius: 24px; background: var(--brown); color: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  box-shadow: var(--shadow);
}
.event-badge span { font-size: 22px; font-weight: 700; letter-spacing: .16em; }
.event-badge strong { font-family: "Playfair Display", serif; font-size: 78px; margin: 2px 0 8px; }
.event-badge small { font-size: 13px; letter-spacing: .15em; }
.event h2 { font-size: clamp(38px, 5vw, 62px); }
.event-content > p { color: #6a4d40; max-width: 790px; font-size: 17px; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.event-grid div { background: rgba(255,255,255,.58); padding: 18px; border-radius: 16px; }
.event-grid small { display: block; font-weight: 800; font-size: 10px; letter-spacing: .15em; color: #9b6675; margin-bottom: 5px; }
.event-grid strong { font-size: 14px; }

.safety {
  padding: 28px clamp(22px, 7vw, 110px) 90px;
}
.safety-heading {
  max-width: 760px;
  margin-bottom: 30px;
}
.safety h2 { font-size: clamp(38px, 5vw, 62px); }
.safety-heading p { margin: 16px 0 0; color: #6c5044; font-size: 17px; }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.safety-grid article {
  background: var(--white);
  border: 1px solid rgba(93,58,42,.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(93,58,42,.06);
}
.safety-grid article:last-child {
  grid-column: 1 / -1;
}
.safety-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--pink-soft);
  font-size: 20px;
  margin-bottom: 12px;
}
.safety-grid h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 26px;
}
.safety-grid p {
  margin: 0;
  color: #74594c;
}

.rsvp {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  padding: 90px clamp(22px, 7vw, 110px);
  background: #f7eee6;
}
.rsvp h2 { font-size: clamp(42px, 5vw, 68px); }
.rsvp-copy > p { color: #6c5044; font-size: 17px; max-width: 560px; }
.mini-note { display: inline-block; margin-top: 18px; padding: 14px 16px; background: #fff9f4; border-radius: 14px; font-size: 13px; color: #75584c; border: 1px solid rgba(93,58,42,.08); }
.rsvp-form { background: var(--white); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(93,58,42,.07); }
.rsvp-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
input, textarea {
  width: 100%; margin-top: 7px; border: 1px solid rgba(93,58,42,.18); border-radius: 14px;
  padding: 13px 14px; background: #fffdfa; color: var(--brown-deep); font: inherit; outline: none;
}
input:focus, textarea:focus { border-color: #bd8190; box-shadow: 0 0 0 3px rgba(233,184,196,.3); }
.full-width { width: 100%; border: none; }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: 14px; font-weight: 700; color: #7b4f5e; }
.form-status[data-state="success"] { color: #58704e; }
.form-status[data-state="error"] { color: #9a4141; }
.rsvp-form button:disabled { opacity: .7; cursor: wait; }
.bot-field { position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }

.closing { padding: 80px clamp(22px, 7vw, 110px); }
.closing-card { text-align: center; border: 1px solid rgba(93,58,42,.08); border-radius: 32px; background: var(--white); padding: 60px 20px; }
.closing-logo { width: min(240px, 60vw); display: block; margin: 0 auto 12px; border-radius: 50%; }
.closing h2 { font-size: clamp(38px, 5vw, 64px); max-width: 850px; margin: 18px auto; }
.closing p { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: #9c6b77; }

footer {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 30px clamp(22px, 7vw, 110px); border-top: 1px solid rgba(93,58,42,.1); font-size: 13px;
}
footer div { display: flex; gap: 12px; flex-wrap: wrap; }
footer a { font-weight: 800; }

@media (max-width: 900px) {
  .hero, .strip, .rsvp { grid-template-columns: 1fr; }

  /* Keep the two hero circles balanced and intentionally placed on smaller screens. */
  .hero-art {
    min-height: 390px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
  .logo-showcase,
  .sun {
    width: min(44vw, 350px);
    height: min(44vw, 350px);
    top: 28px;
  }
  .logo-showcase {
    left: 3%;
    padding: clamp(10px, 2vw, 16px);
  }
  .sun {
    right: 3%;
  }
  .hero-puppy-face {
    width: 100%;
    right: 0;
    bottom: -2%;
  }

  .features { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .event-badge { width: 140px; height: 160px; }
  .event-badge strong { font-size: 60px; }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 18px; }
  nav a:not(.nav-cta) { display: none; }

  .brand { gap: 11px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 11px; letter-spacing: .16em; }
  .brand-logo { width: 62px; height: 62px; }

  .hero { padding-top: 54px; }
  .hero h1 { font-size: 54px; }

  /* On phones, show both emblems side-by-side instead of stacking them. */
  .hero-art {
    min-height: 235px;
    margin-top: 8px;
    overflow: visible;
  }
  .logo-showcase,
  .sun {
    width: 43vw;
    height: 43vw;
    max-width: 184px;
    max-height: 184px;
    top: 22px;
  }
  .logo-showcase {
    left: 4%;
    padding: 9px;
  }
  .sun {
    right: 4%;
  }

  /* Reduce decorative clutter around the circles on small screens. */
  .paw { display: none; }

  .strip, .features, .safety, .rsvp, .closing {
    padding-left: 20px;
    padding-right: 20px;
  }
  .event { margin-left: 20px; margin-right: 20px; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-grid article:last-child { grid-column: auto; }
  footer { flex-direction: column; align-items: flex-start; }
}
