/* ------------------------------------------------------------
   Colours and fonts — change these to restyle the whole site
   ------------------------------------------------------------ */
:root {
  --paper:  #f6f0e6;   /* background */
  --card:   #fbf8f2;   /* main panel */
  --ink:    #2d2422;   /* main text */
  --muted:  #7a6c64;   /* secondary text */
  --wine:   #6e2232;   /* accent */
  --gold:   #a8854f;   /* fine details */
  --sage:   #8a9574;   /* leaves */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(3rem, 10vh, 6rem) 16px 2rem;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, #fffaf2 0%, transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Vine decoration ---------- */
/* The vine's own colours are set inside index.html (near the bottom). */
.vine {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.vine--top    { top: 0; left: 0; width: clamp(220px, 34vw, 440px); }
.vine--bottom { bottom: 0; right: 0; width: clamp(200px, 26vw, 360px); transform: rotate(180deg); }

/* ---------- Main card ---------- */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.5rem, 6vw, 3.5rem);
  background: var(--card);
  border: 1px solid rgba(168, 133, 79, .35);
  outline: 1px solid rgba(168, 133, 79, .2);
  outline-offset: 8px;
  box-shadow: 0 30px 60px -30px rgba(70, 40, 30, .25);
  animation: rise 1.1s ease-out both;
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 400;
}

.names {
  margin: 1.25rem 0 .75rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1;
  letter-spacing: .01em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.names .amp {
  font-style: italic;
  font-size: .62em;
  color: var(--gold);
  margin: .1em 0 .05em;
}

.divider {
  width: 180px;
  height: 24px;
  margin: .75rem auto 1.5rem;
  display: block;
  overflow: visible;
}
.divider line   { stroke: var(--gold); stroke-width: 1; }
.divider circle { fill: var(--wine); opacity: .8; }

.date {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
}
.date .weekday {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}

.venue {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
}
.venue span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .06em;
}

.countdown {
  margin-top: 2rem;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--wine);
  min-height: 1.3em;
}

.button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: .8rem 1.8rem;
  border: 1px solid var(--wine);
  color: var(--wine);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}
.button:hover,
.button:focus-visible { background: var(--wine); color: var(--card); }

.note {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- "Coming soon" row ---------- */
.coming {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  animation: rise 1.1s .25s ease-out both;
}
.coming h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--wine);
}
.coming p { font-size: .9rem; color: var(--muted); }

footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--muted);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Leave room at the bottom so the corner vine never sits on the text */
@media (min-width: 601px) {
  body { padding-bottom: clamp(7rem, 15vw, 12.5rem); }
}

@media (max-width: 600px) {
  .coming { grid-template-columns: 1fr; gap: 1.25rem; }
  .vine--bottom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .coming { animation: none; }
}
