/* Save Our Date – flyer colors: #ededed bg, #040606 text */
:root {
  --cream: #f5f5f5;
  --cream-dark: #e8e8e8;
  --gold: #6b5b4a;
  --gold-light: #7d6d5c;
  --charcoal: #040606;
  --muted: #2a2a2a;
  --border: #d0d0d0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #040606;
  background: #ededed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

.header {
  text-align: center;
  margin-bottom: 0.6rem;
}

.header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #040606;
  margin: 0;
  letter-spacing: 0.05em;
}

.subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #040606;
  margin: 0.2rem 0 0;
}

.intro {
  text-align: center;
  color: #040606;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.form-section {
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.field {
  margin-bottom: 0.65rem;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #040606;
  margin-bottom: 0.25rem;
}

.required {
  color: #040606;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fafafa;
  color: #040606;
  transition: border-color 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: #666;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #040606;
}

textarea {
  resize: vertical;
  min-height: 48px;
}

.toggle-group {
  display: flex;
  gap: 1rem;
}

.toggle-option {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.95rem;
  color: #040606;
}

.toggle-option input {
  width: auto;
  margin: 0;
}

.plus-one-note {
  font-size: 0.9rem;
  color: #040606;
  font-style: italic;
  margin: 0.4rem 0 0.35rem;
  padding: 0;
}

.plus-one-field {
  transition: opacity 0.2s;
}

.form-actions {
  margin-top: 0.75rem;
}

.btn {
  width: 100%;
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  background: #2a2a2a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover:not(:disabled) {
  background: #1a1c1c;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-status.success {
  color: #2d7a3e;
}

.form-status.error {
  color: #b91c1c;
}

.mountains-wrap {
  margin-top: 0.6rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  max-height: 120px;
}

.mountains {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.footer {
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.footer p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #040606;
  margin: 0;
}

/* Desktop: slightly larger but still compact */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
  .container {
    max-width: 520px;
    padding: 1rem 1.25rem;
  }
  .header h1 {
    font-size: 2.25rem;
  }
  .subtitle {
    font-size: 1.35rem;
  }
  .intro {
    font-size: 1rem;
  }
  .form-section {
    padding: 1.5rem 1.75rem;
  }
  input,
  textarea {
    font-size: 1rem;
    padding: 0.55rem 0.85rem;
  }
  .field label {
    font-size: 0.95rem;
  }
  .btn {
    padding: 0.65rem 1rem;
    font-size: 1rem;
  }
  .mountains-wrap {
    margin-top: 0.75rem;
    max-height: 140px;
  }
  .mountains {
    max-height: 140px;
  }
}

/* Mobile: keep tap targets, compact layout */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0.6rem 0.85rem;
    max-width: 100%;
  }
  .header h1 {
    font-size: 1.75rem;
  }
  .subtitle {
    font-size: 1.1rem;
  }
  .form-section {
    padding: 1rem 1.15rem;
  }
  input,
  textarea {
    font-size: 16px;
    padding: 0.6rem 0.85rem;
    min-height: 44px;
  }
  .btn {
    padding: 0.65rem 1rem;
    min-height: 44px;
  }
  .mountains-wrap {
    max-height: 100px;
  }
  .mountains {
    max-height: 100px;
  }
}
