/* ===== Stijl gebaseerd op het save-the-date-kaartje ===== */
:root {
  --gold: #B8893B;
  --gold-light: #E3C27A;
  --gold-deep: #9A6F2A;
  --gold-gradient: linear-gradient(100deg, #A8782F 0%, #E3C27A 38%, #B8893B 62%, #D9B66A 100%);

  --paper: #FFFFFF;
  --cream: #FBF8F1;
  --grey: #6B6762;
  --ink: #3F3A36;

  /* accenten: wijndomein in zomerjasje */
  --bordeaux: #7A1F3D;
  --bordeaux-dark: #561428;
  --vine: #C9DCA0;
  --sky: #CFE7F2;
  --sun: #F6D06B;

  --display: "Fraunces", "Didot", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Sacramento", "Brush Script MT", cursive;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --arch-w: min(92vw, 480px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--cream);
  /* zachte waterverfvlekken in de domeinkleuren */
  background-image:
    radial-gradient(ellipse 60% 45% at 8% 0%,   rgba(207, 231, 242, .75), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 12%, rgba(246, 208, 107, .28), transparent 70%),
    radial-gradient(ellipse 70% 45% at 0% 100%,  rgba(201, 220, 160, .55), transparent 70%),
    radial-gradient(ellipse 45% 35% at 100% 95%, rgba(122, 31, 61, .08),  transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem;
}

/* ===== De boog (zoals het kaartje) ===== */
.arch {
  width: var(--arch-w);
  background: var(--paper);
  border-top-left-radius: 50% clamp(150px, 42vw, 230px);
  border-top-right-radius: 50% clamp(150px, 42vw, 230px);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow:
    0 1px 2px rgba(63, 58, 54, .06),
    0 24px 60px -28px rgba(63, 58, 54, .35);
  text-align: center;
  padding: clamp(3.5rem, 14vw, 5rem) clamp(1.25rem, 6vw, 2.75rem) 2.5rem;
  animation: rise .9s ease-out both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.heart { width: 26px; height: 24px; display: block; margin: 0 auto clamp(2rem, 8vw, 3rem); }

.gold-text, .title, .names {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title {
  font-family: var(--display);
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(3.4rem, 15vw, 5rem);
  line-height: .98;
  letter-spacing: -.01em;
}

.date {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  color: var(--grey);
  margin: 1.4rem 0 1.6rem;
  letter-spacing: .02em;
}

.illustration {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  /* randen zacht laten overlopen in het papier */
  -webkit-mask-image: radial-gradient(ellipse 80% 78% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 78% at 50% 50%, #000 70%, transparent 100%);
}

/* ===== Aftelklok ===== */
.countdown {
  display: flex;
  justify-content: center;
  margin: 1.6rem auto 0;
  max-width: 22rem;
}
.countdown[hidden] { display: none; }
.unit {
  flex: 1;
  padding: .2rem .25rem;
  border-left: 1px solid rgba(184, 137, 59, .35);
}
.unit:first-child { border-left: 0; }
.num {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 7vw, 2.1rem);
  line-height: 1.1;
  color: var(--bordeaux);
  font-variant-numeric: tabular-nums lining-nums;
}
.label {
  display: block;
  margin-top: .2rem;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.countdown-done {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--bordeaux);
  margin-top: 1.4rem;
}

.names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.4rem, 10vw, 3rem);
  line-height: 1.2;
  margin-top: 1.6rem;
  padding: 0 .2em; /* ruimte voor de krullen bij background-clip */
}

.stay-tuned {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 1.4rem 0 1.4rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .06em;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover, .btn:focus-visible { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .arch { animation: none; }
  .btn { transition: none; }
}
