:root {
  --ink: #f5efe2;
  --muted: rgba(245, 239, 226, 0.74);
  --grape: #2f3e38;
  --grape-dark: #17231f;
  --gold: #b99257;
  --gold-soft: rgba(185, 146, 87, 0.62);
  --paper: rgba(245, 239, 226, 0.1);
  --line: rgba(245, 239, 226, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--grape-dark);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

.landing {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 20px);
  overflow: hidden;
}

.landing__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 18%, rgba(245, 239, 226, 0.18), transparent 11%),
    radial-gradient(circle at 28% 8%, rgba(245, 239, 226, 0.12), transparent 10%),
    radial-gradient(circle at 82% 14%, rgba(245, 239, 226, 0.16), transparent 13%),
    radial-gradient(circle at 74% 88%, rgba(245, 239, 226, 0.12), transparent 12%),
    var(--grape-dark);
}

.landing__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.86) brightness(0.78);
  transform: scale(1.005);
}

.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 14%, rgba(245, 239, 226, 0.24), transparent 7%),
    radial-gradient(circle at 22% 30%, rgba(245, 239, 226, 0.16), transparent 8%),
    radial-gradient(circle at 90% 22%, rgba(245, 239, 226, 0.22), transparent 8%),
    radial-gradient(circle at 78% 76%, rgba(245, 239, 226, 0.16), transparent 9%),
    linear-gradient(180deg, rgba(23, 35, 31, 0.26), rgba(23, 35, 31, 0.58));
  mix-blend-mode: normal;
}

.invite {
  width: min(1120px, 100%);
}

.invite__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.5fr) minmax(430px, 1fr);
  column-gap: clamp(24px, 4vw, 50px);
  justify-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 2px solid var(--gold-soft);
  background: rgba(23, 35, 31, 0.36);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  text-align: left;
  backdrop-filter: blur(8px);
}

.invite__frame::before,
.invite__frame::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: var(--gold);
  pointer-events: none;
}

.invite__frame::before {
  top: 14px;
  left: 14px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.invite__frame::after {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.image-strip {
  grid-row: 1 / span 3;
  align-self: stretch;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(185, 146, 87, 0.42);
  background: rgba(245, 239, 226, 0.08);
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: sepia(0.1) saturate(0.78) brightness(1.02);
}

.brand-mark {
  grid-column: 2;
  justify-self: center;
  width: min(158px, 46vw);
  height: auto;
  margin-bottom: 10px;
}

.copy {
  grid-column: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.75rem, 5vw, 4.05rem);
  font-weight: 600;
  line-height: 0.92;
}

.title-accent {
  color: var(--gold);
}

.copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.55vw, 1.06rem);
}

.copy .notice {
  max-width: 760px;
  color: rgba(245, 239, 226, 0.66);
  font-size: clamp(0.8rem, 1.08vw, 0.9rem);
}

.form {
  grid-column: 2;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 18px;
  align-items: end;
}

.field-group {
  display: grid;
  gap: 6px;
  text-align: left;
}

.field-group--hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-group--half {
  grid-column: span 2;
}

.field-group--quarter {
  grid-column: span 1;
}

label {
  color: rgba(245, 239, 226, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  outline: none;
}

select {
  color: rgba(245, 239, 226, 0.88);
}

select option {
  color: var(--grape-dark);
  background: #f5efe2;
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 146, 87, 0.18);
}

.button {
  grid-column: 3 / -1;
  min-height: 40px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 10px 22px;
  color: var(--grape-dark);
  background: var(--gold);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  color: var(--gold);
  background: transparent;
  transform: translateY(-1px);
}

.site-footer {
  margin-top: 18px;
  color: rgba(245, 239, 226, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.landing--response {
  text-align: center;
}

.response-card {
  width: min(760px, 100%);
  padding: clamp(34px, 6vw, 68px);
  border: 2px solid var(--gold-soft);
  background: rgba(23, 35, 31, 0.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.response-card__logo {
  width: min(190px, 54vw);
  margin: 0 auto clamp(22px, 4vh, 34px);
}

.response-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.response-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  text-decoration: none;
}

.event-landing {
  overflow: auto;
}

.event-card {
  position: relative;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 2px solid var(--gold-soft);
  background: rgba(23, 35, 31, 0.38);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.event-card::before,
.event-card::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: var(--gold);
  pointer-events: none;
}

.event-card::before {
  top: 14px;
  left: 14px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.event-card::after {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 146, 87, 0.42);
  background: rgba(245, 239, 226, 0.08);
  aspect-ratio: 9 / 14;
  min-height: 560px;
}

.carousel__track,
.carousel__slide,
.carousel__slide img {
  width: 100%;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.carousel__slide.is-active {
  opacity: 1;
}

.carousel__slide img {
  object-fit: cover;
  object-position: center center;
}

.carousel__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 239, 226, 0.44);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(23, 35, 31, 0.52);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel__control--prev {
  left: 14px;
}

.carousel__control--next {
  right: 14px;
}

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(245, 239, 226, 0.76);
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

.event-copy {
  max-width: 620px;
}

.event-copy__logo {
  width: min(188px, 46vw);
  height: auto;
  margin: 0 0 clamp(24px, 5vh, 44px);
}

.event-copy h1 {
  max-width: 620px;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
}

.event-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.16rem);
}

.event-copy__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  text-decoration: none;
}

@media (max-width: 780px) {
  .landing {
    align-items: start;
    min-height: auto;
  }

  .invite__frame {
    grid-template-columns: 1fr;
    padding: 36px 22px;
    text-align: center;
  }

  .site-footer {
    margin-top: 16px;
  }

  .image-strip {
    grid-row: auto;
    min-height: 190px;
    margin-bottom: 22px;
  }

  .brand-mark,
  .copy,
  .form {
    grid-column: 1;
    justify-self: center;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .field-group:nth-child(1),
  .field-group:nth-child(2),
  .field-group:nth-child(3),
  .field-group:nth-child(4),
  .field-group--half,
  .field-group--quarter,
  .button {
    grid-column: 1;
  }

  .copy p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .event-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
  }

  .carousel {
    width: min(420px, 100%);
    min-height: auto;
    margin: 0 auto;
  }

  .event-copy {
    justify-self: center;
  }

  .event-copy__logo {
    margin-right: auto;
    margin-left: auto;
  }

  .event-copy p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .landing {
    padding: 12px;
  }

  .invite__frame {
    border-width: 1px;
  }

  .invite__frame::before,
  .invite__frame::after {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: 3.15rem;
  }
}
