*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: #111111;
  color: #E8E5E0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.stage {
  min-height: 100dvh;
  display: grid;
  justify-items: center;
  align-content: start;
  row-gap: 2.25rem;
  padding: 11vh 1.5rem 2.5rem;
}

.view {
  width: 100%;
  max-width: 22rem;
  text-align: center;
}

.mark {
  font-family: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  font-size: clamp(4.5rem, 18vw, 6.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  color: #E8E5E0;
}

.label {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B8B5AF;
}

.form {
  display: grid;
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.field-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8B5AF;
}

input {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid #2A2A2A;
  background: transparent;
  color: #E8E5E0;
  font: inherit;
  font-size: 1.05rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s ease;
}

input:focus {
  border-bottom-color: #B8B5AF;
}

input::placeholder {
  color: #6f6c67;
}

.message {
  margin: 0;
  min-height: 1.5rem;
  font-size: 0.95rem;
  font-style: italic;
  color: #B8B5AF;
}

.submit {
  margin-top: 0.5rem;
  padding: 0.7rem 0;
  border: 1px solid #2A2A2A;
  background: transparent;
  color: #E8E5E0;
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.submit:hover,
.submit:focus-visible {
  border-color: #B8B5AF;
  color: #E8E5E0;
  outline: none;
}

.success {
  font-size: 1.15rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: pre-line;
}

@media (min-width: 640px) {
  body {
    font-size: 19px;
  }

  .stage {
    row-gap: 2.75rem;
    padding-top: 9vh;
  }
}
