* {
  box-sizing: border-box;
}

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

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #171717;
  background: #f8f6f1;
}

/* HOMEPAGE */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #202020;
}

.hero-photo {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.20);
}

.hero-overlay {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  display: flex;
  flex-direction: column;

  justify-content: flex-end;
  align-items: center;

  padding: 8vh 24px;

  text-align: center;
  color: white;
}

.hero-overlay h1 {
  margin: 0;

  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
}

.hero-overlay p {
  margin: 14px 0;

  font-size: 1.1rem;
  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.hero-overlay span {
  font-size: 0.8rem;
  letter-spacing: 0.24em;

  text-transform: uppercase;
}

/* SAVE-THE-DATE RESPONSE PAGE */

.response-page {
  min-height: 100vh;

  display: grid;
  place-items: center;

  padding: 40px 20px;

  background: #f5f3ed;
}

.response-card {
  width: min(620px, 100%);

  padding: clamp(32px, 7vw, 64px);

  background: white;
}

.eyebrow {
  margin-bottom: 30px;

  font-size: 0.75rem;

  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.response-card h1 {
  margin-top: 0;

  font-size: clamp(2.2rem, 6vw, 3.3rem);
  font-weight: 400;
}

.response-card p {
  line-height: 1.7;
}

.response-card form {
  margin-top: 40px;
}

label {
  display: block;

  margin-top: 24px;

  line-height: 1.5;
}

input[type="text"],
textarea {
  width: 100%;

  margin-top: 8px;
  padding: 13px;

  border: 1px solid #aaa;

  font: inherit;
}

textarea {
  resize: vertical;
}

.confirmation {
  display: flex;

  gap: 12px;

  align-items: flex-start;
}

.confirmation input {
  margin-top: 5px;
}

.optional {
  opacity: 0.55;
}

button {
  margin-top: 30px;

  padding: 14px 24px;

  border: 0;

  background: #222;
  color: white;

  font: inherit;

  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
}

#thank-you {
  margin-top: 40px;
}
