:root {
  --cream: #faf3dd;
  --green: #5b6946;
  --white: #faf3dd;
  --font-script: "Pinyon Script", cursive;
  --font-serif:
    "Playfair Display",
    Georgia,
    serif;
  --font-sans:
    "Montserrat",
    system-ui,
    sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--green);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cream);
  color: var(--green);
}
.hero__flower {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__amp {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: min(72%, 300px);
  height: auto;
  aspect-ratio: 1;
  margin: auto;
  background-color: var(--green);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: url(/portfolio/web-2/decoration-1.png);
  mask-image: url(/portfolio/web-2/decoration-1.png);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
}
.hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 0.85rem);
  margin: 0;
  text-align: center;
}
.hero__name {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 11vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--green);
}
.program {
  background: var(--cream);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.program__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px) minmax(0, 1fr);
  align-items: flex-end;
  gap: clamp(0.5rem, 2vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}
.program__flower {
  width: min(320px, 34vw);
  justify-self: center;
  align-self: flex-end;
  pointer-events: none;
}
.program__flower--right {
  transform: scaleX(-1);
}
.program__arch {
  background: var(--green);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(2rem, 5vw, 3rem) clamp(2.5rem, 5vw, 3rem);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.program__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 1.25rem;
}
.program__title-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
}
.program__title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}
.program__date {
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.program__list {
  list-style: none;
  width: 100%;
  max-width: 320px;
}
.program__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(250, 243, 221, 0.45);
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  letter-spacing: 0.04em;
}
.program__item:first-child {
  border-top: 1px solid rgba(250, 243, 221, 0.45);
}
.program__time {
  text-align: left;
}
.program__event {
  text-align: right;
}
.moments {
  background: var(--green);
  color: var(--white);
}
.moments__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.moments__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em 0.5em;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.moments__title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}
.moments__title-serif {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
}
.moments__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.moments__frame {
  position: relative;
  margin: 0;
}
.moments__pill {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  overflow: hidden;
  aspect-ratio: 3 / 4.5;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}
.moments__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.moments__flower {
  position: absolute;
  pointer-events: none;
  width: min(120px, 38vw);
  z-index: 3;
}
.moments__flower--one {
  top: -6%;
  left: 8%;
}
.moments__flower--two {
  bottom: 10%;
  left: 5%;
}
.moments__flower--three {
  bottom: -4%;
  right: 10%;
}
.about {
  background: var(--cream);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about__intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--green);
}
.about__title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}
.about__title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  margin-top: 0.1em;
  padding-left: 0.15em;
}
.about__flower {
  width: min(320px, 80vw);
}
.about__cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__card {
  border: 1px solid var(--green);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
}
.about__card-title {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--green);
}
.about__card-text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
  color: var(--green);
}
.faq {
  padding: 0;
}
.faq__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: clamp(640px, 85vh, 900px);
}
.faq__content {
  background: var(--cream);
  color: var(--green);
  padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
}
.faq__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 400;
  text-align: center;
  color: var(--green);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.faq__item {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(91, 105, 70, 0.28);
}
.faq__item:first-child {
  border-top: 1px solid rgba(91, 105, 70, 0.28);
}
.faq__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-bottom: 0.75rem;
}
.faq__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--green);
}
.faq__question {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.3vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  padding-top: 0.35em;
  color: var(--green);
}
.faq__answer {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.75;
  padding-left: calc(clamp(2rem, 4vw, 2.8rem) + clamp(1rem, 3vw, 2rem));
  color: rgba(91, 105, 70, 0.88);
}
.faq__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: clamp(2rem, 5vw, 3rem);
}
.faq__photo-wrap {
  position: relative;
  width: min(260px, 75%);
  aspect-ratio: 3 / 4.2;
}
.faq__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.faq__flower {
  position: absolute;
  left: 57.5%;
  top: 16%;
  transform: translate(-50%, 0);
  width: min(120px, 22vw);
  pointer-events: none;
  z-index: 3;
}
.rsvp {
  background: var(--green);
  color: var(--white);
}
.rsvp__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.rsvp__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25em 0.4em;
  margin-bottom: 1.25rem;
}
.rsvp__title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}
.rsvp__title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
}
.rsvp__intro {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: rgba(250, 243, 221, 0.9);
  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-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}
.rsvp__input,
.rsvp__select,
.rsvp__textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 70%, transparent);
  background: transparent;
  padding: 0.65rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  outline: none;
  border-radius: 0;
}
.rsvp__input::placeholder,
.rsvp__textarea::placeholder {
  color: rgba(250, 243, 221, 0.55);
}
.rsvp__textarea {
  display: block;
  height: 6.5rem;
  min-height: 6.5rem;
  max-height: 6.5rem;
  resize: none;
  line-height: 1.55;
  box-sizing: border-box;
}
.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='%23faf3dd' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
  color-scheme: light;
}
.rsvp__select option {
  background: var(--cream);
  color: var(--green);
  font-family: var(--font-sans);
}
.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: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.rsvp__radio:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--white);
}
.rsvp__option-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--white);
}
.rsvp__submit {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.7rem 2.25rem;
  border: 1px solid var(--white);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.rsvp__submit:hover {
  background: var(--white);
  color: var(--green);
}
@media (max-width: 1060px) {
  .program__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .program__flower {
    display: none;
  }
  .program__arch {
    max-width: min(100%, 460px);
  }
}
@media (max-width: 1024px) and (min-width: 901px) {
  .moments__gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(4rem, 14vw, 5.5rem) clamp(1.5rem, 5vw, 2.5rem);
  }
  .hero__flower {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .moments__gallery {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__intro {
    align-items: center;
    text-align: center;
  }
  .about__title {
    align-items: center;
  }
  .faq.section {
    padding-inline: clamp(1.5rem, 5vw, 3rem);
  }
  .faq__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }
  .faq__content {
    grid-row: 1;
  }
  .faq__visual {
    grid-row: 3;
    min-height: auto;
    padding: 2.5rem 1.5rem 3rem;
  }
  .faq__flower {
    position: relative;
    grid-row: 2;
    left: auto;
    top: auto;
    transform: none;
    justify-self: center;
    margin: -1rem auto 0;
    width: min(130px, 38vw);
  }
  .faq__photo-wrap {
    width: min(240px, 70%);
  }
  .faq__answer {
    padding-left: 0;
  }
  .rsvp__inner {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .hero__name {
    font-size: clamp(2.8rem, 14vw, 3.4rem);
  }
  .moments__flower {
    width: 100px;
  }
}
