/* ===========================================================
   Robert & Lisanne — Scheurkalender
   Stijl afgeleid van de save-the-date: gebroken salie, warm
   oranje accent, sereen serif voor koppen, handschrift voor
   labels, dunne lijn-iconografie, hartmotief.
   =========================================================== */

:root {
  --sage-900: #3c463a;
  --sage-800: #4b5647;
  --sage-700: #6d7a68;
  --sage-600: #8a9584;
  --sage-100: #eceee7;
  --cream: #faf8f2;
  --ink: #2a2d26;
  --ink-soft: #5b6155;
  --accent: #e2954f;
  --accent-deep: #c97a36;
  --line: rgba(255, 255, 255, 0.25);
  --line-dark: rgba(42, 45, 38, 0.12);

  --font-display: "Cormorant Garamond", serif;
  --font-script: "Caveat", cursive;
  --font-body: "Inter", sans-serif;

  --radius: 6px;
  --shadow-card: 0 30px 60px -20px rgba(42, 45, 38, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sage-100);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ---------- Hero band ---------- */

.hero {
  background: var(--sage-900);
  color: var(--cream);
  padding: 4.5rem 1.5rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin: 0 0 1.4rem;
}

.hero__date .dot {
  color: var(--accent);
  font-size: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 0 0 1.1rem;
  color: var(--accent);
}

.hero p {
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
  color: var(--sage-100);
  font-size: 1rem;
}

.hero p + p {
  margin-top: 1rem;
}

.hero__signees {
  margin-top: 2.2rem;
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--accent);
}

/* ---------- Kalenderblad (signature form card) ---------- */

.sheet-wrap {
  max-width: 560px;
  margin: -5.5rem auto 4rem;
  padding: 0 1.25rem;
  position: relative;
}

.sheet {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* torn / perforated top edge */
.sheet::before {
  content: "";
  display: block;
  height: 14px;
  width: 100%;
  background: linear-gradient(-135deg, var(--sage-100) 8px, transparent 0),
    linear-gradient(135deg, var(--sage-100) 8px, transparent 0);
  background-size: 20px 20px;
  background-repeat: repeat-x;
  background-position: bottom;
}

.sheet__title {
  text-align: center;
  padding: 2rem 2rem 1.6rem;
  border-bottom: 1px dashed var(--line-dark);
  margin: 0 1.75rem 1.8rem;
}

.sheet__title h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.sheet__title p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Form ---------- */

form {
  padding: 0 1.9rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--sage-700);
  line-height: 1.2;
}

.field .req {
  color: var(--accent-deep);
  font-family: var(--font-body);
  font-size: 0.8rem;
  vertical-align: super;
}

.field textarea,
.field input[type="text"] {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  padding: 0.5rem 0.1rem;
  resize: vertical;
  min-height: 2.6rem;
  transition: border-color 0.2s ease;
}

.field textarea:focus,
.field input[type="text"]:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field textarea::placeholder,
.field input::placeholder {
  color: #b7bcae;
}

/* photo dropzone */

.dropzone {
  border: 1.5px dashed var(--sage-600);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.dropzone.is-dragover,
.dropzone:hover {
  border-color: var(--accent);
  background: rgba(226, 149, 79, 0.06);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone__icon {
  width: 26px;
  height: 26px;
  margin: 0 auto 0.6rem;
  color: var(--sage-700);
}

.dropzone__text {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.dropzone__text strong {
  color: var(--accent-deep);
}

.dropzone__preview {
  display: none;
  margin-top: 1rem;
}

.dropzone__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
}

.dropzone__thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1 / 1;
}

.dropzone__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dropzone__thumb .remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(42, 45, 38, 0.75);
  color: var(--cream);
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone__count {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* submit */

.submit-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 0.4rem;
}

.submit-btn:hover {
  background: var(--accent-deep);
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  background: var(--sage-600);
  cursor: not-allowed;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: -0.6rem;
}

.form-error {
  display: none;
  background: #fbe9e2;
  color: #96421d;
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
}

/* ---------- Thank-you state ---------- */

.thankyou {
  display: none;
  padding: 3rem 2rem 3.5rem;
  text-align: center;
}

.thankyou__heart {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin: 0 auto 1.2rem;
}

.thankyou h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

.thankyou p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 0 1.5rem 3rem;
  font-size: 0.78rem;
  color: var(--sage-700);
}

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1.25rem 7rem;
  }
  .sheet-wrap {
    margin-top: -4.5rem;
  }
  form {
    padding: 0 1.4rem 1.8rem;
  }
  .sheet__title {
    margin: 0 1.4rem 1.6rem;
    padding: 1.6rem 0.5rem 1.4rem;
  }
}
