@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600&display=swap");
:root {
  --cream: #fff5e6;
  --muted: #eee1d0;
  --gold: #e7c59c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #0b1220;
  color: var(--cream);
  font-family: Manrope, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
.garden-backdrop,
#garden,
.shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.garden-backdrop {
  background: #0b1220 var(--garden-landscape, url("assets/night-garden.webp"))
    center/cover no-repeat;
}
#garden {
  z-index: 0;
}
.shade {
  z-index: 1;
  background:
    linear-gradient(#03081438, #03081438),
    radial-gradient(
      ellipse at 48% 45%,
      #03071360 0%,
      #03071325 50%,
      transparent 85%
    );
}
header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5%;
  font-size: 10px;
  letter-spacing: 3px;
  text-shadow: 0 2px 12px #000;
}
.monogram {
  font:
    28px "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: 1px;
}
i {
  font-weight: 400;
  color: var(--gold);
}
header button {
  color: var(--cream);
  background: #10172480;
  border: 1px solid #f7ddb65c;
  border-radius: 30px;
  padding: 10px 15px;
  font-size: 11px;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
}
main {
  position: relative;
  z-index: 2;
}
section {
  min-height: 145vh;
  padding: 110px 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 20px;
  text-shadow:
    0 2px 18px #000b,
    0 1px 4px #0009;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 500;
  line-height: 2;
  color: var(--gold);
}
h1,
h2,
.signature,
.date-display strong,
.closing-monogram {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
h2 {
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.05;
  margin: 24px 0;
  color: var(--cream);
}
.hero {
  min-height: 100svh;
  flex-direction: column;
  text-align: center;
  padding: 140px 6% 80px;
}
.hero:before {
  content: "✧";
  font:
    30px Georgia,
    serif;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero .eyebrow {
  letter-spacing: 4px;
}
.small-script {
  font:
    italic 25px "Cormorant Garamond",
    Georgia,
    serif;
  margin: 28px 0 16px;
  color: var(--muted);
}
h1 {
  font-size: clamp(70px, 8vw, 124px);
  line-height: 0.91;
  letter-spacing: -2px;
  margin: 18px 0 38px;
  font-weight: 500;
}
h1 span {
  display: block;
  font-size: 0.43em;
  line-height: 1.2;
  margin: 6px 0;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.hero-date {
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 5px;
}
.hero-date b {
  padding: 0 12px;
  font-weight: 400;
  color: var(--gold);
}
.scroll {
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.6;
  margin-top: 60px;
}
.scroll span {
  display: block;
  font-size: 24px;
  margin-top: 14px;
  color: var(--gold);
}
.letter {
  justify-content: flex-start;
  padding-left: 12%;
}
.reading-copy {
  width: 100%;
  max-width: 610px;
  text-align: center;
}
.reading-copy p {
  font-size: 16px;
  line-height: 1.95;
  max-width: 490px;
  margin: 24px auto;
  color: var(--muted);
}
.signature {
  font-size: 33px;
  font-style: italic;
  margin-top: 38px;
  color: var(--cream);
}
.ornament {
  font-size: 35px;
  margin-top: 28px;
  color: var(--gold);
}
.day {
  gap: 10%;
  justify-content: space-between;
}
.day-heading {
  max-width: 540px;
}
.day-heading h2 {
  font-size: clamp(46px, 4.7vw, 68px);
}
.day-heading p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 17px 0 12px;
  margin-top: 24px;
  border-bottom: 1px solid #e7c59c99;
  font-size: 12px;
  transition: color 0.2s;
}
.button:hover {
  color: var(--gold);
}
.date-display {
  min-width: 270px;
  padding: 35px 35px;
  text-align: center;
}
.date-display > span,
.date-display > div {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.date-display strong {
  display: block;
  font-size: 155px;
  line-height: 1.1;
  color: var(--cream);
}
.date-display hr {
  border: 0;
  border-top: 1px solid #e7c59c77;
  margin: 28px 0;
}
.date-display b {
  font:
    45px "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--gold);
}
.date-display p {
  font-size: 13px;
  color: var(--muted);
}
.programme {
  justify-content: flex-end;
}
.programme .reading-copy {
  max-width: 650px;
}
.reading-copy .intro {
  font:
    italic 24px/1.4 "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--muted);
}
ol {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  text-align: left;
}
li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid #e7c59c38;
}
li time {
  font-size: 12px;
  line-height: 1.6;
  padding-top: 5px;
  color: var(--gold);
}
li h3 {
  font:
    500 28px/1.2 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 0;
  color: var(--cream);
}
.reading-copy li p {
  font-size: 13px;
  line-height: 1.7;
  margin: 7px 0 0;
  color: var(--muted);
}
.reading-copy .end {
  font-size: 12px;
  letter-spacing: 1px;
  margin: 28px 0 0;
  color: var(--gold);
}
.venue {
  justify-content: flex-start;
}
.venue-card {
  max-width: 570px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}
.venue-card img {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 10px 24px #0008);
  margin-bottom: 25px;
}
.venue-card > div {
  padding: 0 15px;
}
.venue-card h2 {
  font-size: 70px;
  margin: 16px 0;
}
.venue-card h2 em {
  display: block;
  font-size: 34px;
  color: var(--gold);
}
.venue-card p {
  font:
    italic 25px/1.5 "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--muted);
  margin: 18px 0 0;
}
.venue-map {
  display: inline-block;
  font-size: 12px;
  border-bottom: 1px solid #e7c59c88;
  padding-bottom: 8px;
  margin-top: 22px;
}
.closing {
  min-height: 155vh;
  flex-direction: column;
  text-align: center;
}
.closing h2 {
  font-size: 100px;
  font-style: italic;
}
.countdown {
  display: flex;
  gap: 35px;
  margin: 20px 0;
  padding: 18px 24px;
  border-top: 1px solid #e7c59c88;
  border-bottom: 1px solid #e7c59c88;
}
.countdown strong {
  display: block;
  font:
    48px "Cormorant Garamond",
    Georgia,
    serif;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
.countdown small {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
.closing > p {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
}
.closing-monogram {
  font-size: 75px;
  margin: 45px 0;
  color: var(--gold);
}
.back {
  font-size: 11px;
  letter-spacing: 1px;
}
footer {
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 70px;
  color: var(--muted);
}
nav {
  position: fixed;
  right: 25px;
  top: 45%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: #0a14214d;
  padding: 16px 8px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
nav a {
  width: 7px;
  height: 7px;
  border: 1px solid #ffedcaaa;
  border-radius: 50%;
  transition: 0.3s;
}
nav a.active {
  background: var(--cream);
  box-shadow: 0 0 0 4px #ffedca22;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
body.no-webgl #garden {
  display: none;
}
@media (max-width: 700px) {
  .garden-backdrop {
    background-image: var(
      --garden-portrait,
      url("assets/night-garden-mobile.webp")
    );
  }
  header {
    padding: 22px 6%;
  }
  header > span {
    display: none;
  }
  header button {
    font-size: 10px;
  }
  section {
    padding: 90px 8%;
    min-height: 145svh;
  }
  .hero {
    padding: 120px 6% 70px;
    min-height: 100svh;
  }
  .hero:before {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 2.6px;
  }
  .small-script {
    font-size: 21px;
    max-width: 290px;
    margin-top: 24px;
  }
  h1 {
    font-size: clamp(51px, 15.9vw, 81px);
    letter-spacing: -1.6px;
    margin: 18px 0 32px;
  }
  .hero-date {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .scroll {
    margin-top: 52px;
    font-size: 9px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  h2 {
    font-size: 48px;
  }
  .letter {
    padding-left: 8%;
  }
  .reading-copy p {
    font-size: 15px;
    line-height: 1.9;
  }
  .signature {
    font-size: 30px;
  }
  .day {
    flex-direction: column;
    justify-content: center;
    gap: 42px;
    text-align: center;
  }
  .day-heading h2 {
    font-size: 52px;
  }
  .day-heading p {
    font-size: 14px;
  }
  .date-display {
    min-width: 240px;
    padding: 15px 35px;
  }
  .date-display strong {
    font-size: 125px;
  }
  .reading-copy .intro {
    font-size: 22px;
  }
  li {
    grid-template-columns: 77px 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  li time {
    font-size: 10px;
  }
  li h3 {
    font-size: 25px;
  }
  .reading-copy li p {
    font-size: 13px;
    line-height: 1.65;
  }
  .reading-copy .end {
    font-size: 11px;
  }
  .venue-card img {
    max-height: 250px;
    margin-bottom: 22px;
  }
  .venue-card > div {
    padding: 0 4px;
  }
  .venue-card h2 {
    font-size: 66px;
  }
  .venue-card p {
    font-size: 24px;
  }
  .closing {
    min-height: 145svh;
  }
  .closing h2 {
    font-size: 82px;
  }
  .countdown {
    padding: 16px 12px;
    gap: 23px;
  }
  .countdown strong {
    font-size: 42px;
  }
  .countdown small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .closing > p {
    font-size: 12px;
    letter-spacing: 1px;
  }
  footer {
    font-size: 8px;
    letter-spacing: 2px;
  }
  nav {
    right: 6px;
    padding: 14px 6px;
    gap: 14px;
  }
  nav a {
    width: 5px;
    height: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
