:root {
  --background: #eeeede;
  --text: #2f3c3b;
  --accent: #baddc2;
  --accent-dark: #4f8a6d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Playfair Display', 'Georgia', serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  position: relative;
  background: linear-gradient(180deg, rgba(186, 221, 194, 0.18) 0%, rgba(238, 238, 222, 0) 100%);
}

.hero__frame {
  position: absolute;
  top: clamp(18rem, 48vh, 30rem);
  height: clamp(420px, 70vh, 680px);
  width: auto;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 18px 34px rgba(55, 119, 113, 0.24));
  transform: translateY(-50%);
  z-index: 0;
}

.hero__frame--left {
  left: clamp(-1.5rem, 4vw, 3rem);
}

.hero__frame--right {
  right: clamp(-1.5rem, 4vw, 3rem);
  transform: translateY(-50%) scaleX(-1);
}

.site-nav {
  position: absolute;
  top: 2rem;
  right: clamp(1.5rem, 6vw, 4rem);
  z-index: 2;
}

.site-nav__link {
  font-size: 0.95rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-dark);
  border: 1px solid transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: #fff;
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero__content {
  max-width: 640px;
  display: grid;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero__floral {
  width: clamp(220px, 45vw, 420px);
  margin: -0.25rem auto 0;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(55, 119, 113, 0.18));
}

.hero__monogram {
  width: clamp(280px, 60vw, 620px);
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(55, 119, 113, 0.22));
}

.hero__hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(55, 119, 113, 0.72);
}

.hero__details {
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 1.1rem;
}

.hero__detail {
  margin: 0;
}

.hero__detail--sub {
  font-size: 0.95rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.hero__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  padding: 0.85rem 2.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: var(--accent-dark);
  border: 2px solid var(--accent-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__button:hover,
.hero__button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(55, 119, 113, 0.2);
}

.hero__button--outline {
  color: var(--accent-dark);
  background: transparent;
}


.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: rgba(47, 60, 59, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .site-nav {
    top: 1.25rem;
    right: 1.25rem;
  }

  .hero__frame {
    display: none;
  }

  
}

.content {
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
  padding: 0 clamp(1.25rem, 6vw, 6rem) 4rem;
}

.content-section {
  display: flex;
  justify-content: center;
}

.content-section__inner {
  width: min(940px, 100%);
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.content-section--left .content-section__inner {
  margin-right: auto;
}

.content-section--right .content-section__inner {
  margin-left: auto;
  text-align: right;
}

.content-section__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: rgba(55, 119, 113, 0.66);
}

.content-section h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.1rem);
  margin: 0;
  color: var(--accent-dark);
}

.content-section p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}


.hero__form {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem clamp(1.2rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(108, 168, 130, 0.28);
  border-radius: 1.5rem;
  box-shadow: 0 18px 42px rgba(33, 60, 56, 0.12);
}

.hero__form-field {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  font-size: 0.9rem;
  color: rgba(47, 60, 59, 0.8);
}

.hero__form-field span {
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(55, 119, 113, 0.75);
}

.hero__form-field--split .hero__form-split {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.hero__form-field input,
.hero__form-field select,
.hero__form-field textarea {
  width: 100%;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(55, 119, 113, 0.3);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.hero__form-field input:focus,
.hero__form-field select:focus,
.hero__form-field textarea:focus {
  outline: 2px solid rgba(108, 168, 130, 0.4);
  outline-offset: 2px;
}

.hero__button--submit {
  justify-self: center;
  padding: 0.85rem 2.8rem;
}

.hero__form-wrapper {
  width: min(560px, 100%);
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
}

.hero__form-wrapper[hidden] {
  display: none;
}

.hero__form-wrapper--open {
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
}

.hero__button--toggle {
  margin-top: 0.5rem;
}

.hero__select {
  position: relative;
}

.hero__select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3rem;
  cursor: pointer;
}

.hero__select-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: rgba(55, 119, 113, 0.75);
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero__form {
    padding: 1.25rem 1rem;
  }

  .hero__button--submit {
    justify-self: stretch;
  }
}

.hero__noscript {
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  width: min(520px, 90%);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(47, 60, 59, 0.75);
}

.hero__noscript a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 138, 109, 0.4);
}

.hero__noscript a:hover,
.hero__noscript a:focus {
  border-bottom-color: var(--accent-dark);
}
