:root {
  --cream: #f9f1e7;
  --light: #fffbf7;
  --text: #7e4847;
  --text-soft: rgba(126, 72, 71, 0.85);
  --font-display:
    "Playfair Display",
    Georgia,
    serif;
  --font-body:
    "Ibarra Real Nova",
    Georgia,
    serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 4rem);
}
.section--cream {
  background: var(--cream);
}
.section--light {
  background: var(--light);
}
.frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--text);
  padding: 5px;
  background: transparent;
}
.frame__inner {
  border: 1px solid var(--text);
  overflow: hidden;
  line-height: 0;
}
.frame__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--pill {
  width: min(320px, 38vw);
  border-radius: 999px;
}
.frame--pill .frame__inner {
  aspect-ratio: 3 / 4.2;
  border-radius: 999px;
}
.frame--pill .frame__image {
  border-radius: 999px;
}
.frame--oval {
  width: min(320px, 38vw);
  border-radius: 50%;
}
.frame--oval .frame__inner {
  aspect-ratio: 3 / 4.2;
  border-radius: 50%;
}
.frame--oval .frame__image {
  border-radius: 50%;
}
.frame--arch {
  width: min(360px, 42vw);
  border-radius: 999px 999px 0 0;
}
.frame--arch .frame__inner {
  aspect-ratio: 4 / 5.2;
  border-radius: 999px 999px 0 0;
}
.frame--arch .frame__image {
  border-radius: 999px 999px 0 0;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  justify-self: center;
}
.hero__visual .frame--pill {
  width: min(380px, 46vw);
}
.hero__flower {
  position: absolute;
  left: -8%;
  bottom: -6%;
  width: min(220px, 44vw);
  pointer-events: none;
}
.hero__butterfly {
  position: absolute;
  top: -8%;
  right: 6%;
  width: min(180px, 20vw);
  pointer-events: none;
}
.hero__content {
  text-align: center;
  justify-self: center;
  width: 100%;
  max-width: 520px;
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  width: 100%;
  margin-bottom: 2.5rem;
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
}
.hero__amp {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0.05em 0;
}
.hero__cta {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--text);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}
.hero__cta:hover {
  background: var(--text);
  color: var(--light);
}
.story__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.story__decor {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.story__flower {
  width: min(420px, 85vw);
}
.story__butterfly {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
}
.story__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.015em;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.story__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.story__paragraph {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text);
}
.invite__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}
.invite__content {
  text-align: center;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}
.invite__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--text);
  max-width: 100%;
  margin-bottom: 2rem;
}
.invite__details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.invite__detail {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.invite__note {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-soft);
}
.invite__visual {
  position: relative;
  display: flex;
  justify-content: center;
  justify-self: center;
}
.invite__visual .frame--oval {
  width: min(360px, 42vw);
}
.invite__flower {
  position: absolute;
  right: -6%;
  bottom: -4%;
  width: min(180px, 32vw);
  pointer-events: none;
}
.closing__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}
.closing__visual {
  position: relative;
  display: flex;
  justify-content: center;
  justify-self: center;
}
.closing__visual .frame--arch {
  width: min(380px, 44vw);
}
.closing__visual .frame--arch .frame__inner {
  aspect-ratio: auto;
  height: min(800px, 60vh);
}
.closing__flower {
  position: absolute;
  left: -10%;
  bottom: -2%;
  width: min(280px, 46vw);
  pointer-events: none;
}
.closing__content {
  text-align: center;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}
.closing__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--text);
  max-width: 100%;
  margin-bottom: 1.25rem;
}
.closing__registry {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
  color: var(--text);
}
.closing__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.closing__line {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.4vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--text);
}
.schedule__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.schedule__bow {
  width: min(220px, 48vw);
  margin: 0 auto 1.75rem;
  pointer-events: none;
}
.schedule__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.schedule__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.schedule__row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: baseline;
  padding: clamp(1rem, 2.5vw, 1.35rem) 0;
  border-top: 1px solid rgba(126, 72, 71, 0.22);
  text-align: left;
}
.schedule__row:last-child {
  border-bottom: 1px solid rgba(126, 72, 71, 0.22);
}
.schedule__time {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.schedule__event {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.45;
  color: var(--text-soft);
}
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.faq__intro {
  position: sticky;
  top: 2rem;
}
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.faq__flower {
  width: min(260px, 55vw);
  pointer-events: none;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.faq__item {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(126, 72, 71, 0.2);
}
.faq__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.faq__question {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.55rem;
}
.faq__answer {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.7;
  color: var(--text-soft);
}
.rsvp__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.rsvp__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.015em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.rsvp__intro {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}
.rsvp__form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: left;
}
.rsvp__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rsvp__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.rsvp__input,
.rsvp__select,
.rsvp__textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--text);
  background: transparent;
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text);
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s ease;
}
.rsvp__input::placeholder,
.rsvp__textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.7;
}
.rsvp__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237e4847' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}
.rsvp__select option {
  background: var(--cream);
  color: var(--text);
}
.rsvp__textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.6;
}
.rsvp__fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rsvp__options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.rsvp__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.rsvp__radio {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.rsvp__radio:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--text);
}
.rsvp__option-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  letter-spacing: 0.02em;
  color: var(--text);
}
.rsvp__submit {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.65rem 2rem;
  border: 1px solid var(--text);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.rsvp__submit:hover {
  background: var(--text);
  color: var(--light);
}
@media (max-width: 960px) {
  .hero {
    min-height: 0;
  }
  .hero__inner,
  .invite__inner,
  .closing__inner,
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__content {
    order: -1;
  }
  .invite__content {
    order: 1;
  }
  .invite__visual {
    order: 2;
  }
  .closing__content {
    order: -1;
  }
  .faq__intro {
    position: static;
    text-align: center;
  }
  .faq__flower {
    margin: 0 auto;
  }
  .schedule__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .hero__visual .frame--pill {
    width: min(320px, 72vw);
  }
  .hero__flower {
    width: min(220px, 48vw);
  }
  .invite__visual .frame--oval {
    width: min(340px, 76vw);
  }
  .invite__flower,
  .closing__flower {
    width: min(160px, 40vw);
  }
  .closing__flower {
    left: -12%;
    width: min(240px, 52vw);
  }
  .closing__visual .frame--arch {
    width: min(320px, 76vw);
  }
  .closing__visual .frame--arch .frame__inner {
    height: min(640px, 65vh);
  }
  .frame--pill,
  .frame--oval,
  .frame--arch {
    width: min(300px, 72vw);
  }
  .rsvp__inner {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .hero__flower {
    left: 0;
    bottom: 0;
    width: min(170px, 42vw);
  }
  .invite__flower {
    right: 0;
    bottom: 0;
    width: min(140px, 36vw);
  }
  .closing__flower {
    left: 0;
    bottom: 0;
    width: min(180px, 46vw);
  }
  .closing__visual .frame--arch .frame__inner {
    height: min(440px, 58vh);
  }
}
@media (max-width: 480px) {
  .hero__name {
    font-size: 2.9rem;
  }
  .story__flower {
    width: min(85vw, 100%);
  }
  .hero__butterfly {
    width: 100px;
  }
  .story__butterfly {
    width: 40px;
  }
}
