@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: #fff1d9;
  --brown: #483421;
  --gold: #c9a367;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #594332;
  color: var(--cream);
  font-family: Manrope, sans-serif;
}
#garden,
.shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.shade {
  background:
    linear-gradient(90deg, rgba(24, 26, 19, 0.18), rgba(24, 26, 19, 0.03)),
    linear-gradient(0deg, rgba(24, 22, 16, 0.3), transparent 50%);
}
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5%;
  font-size: 10px;
  letter-spacing: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
.monogram {
  font:
    28px "Cormorant Garamond",
    serif;
  letter-spacing: 1px;
}
i {
  font-weight: 400;
  color: #e0bc80;
}
button {
  background: transparent;
  border: 1px solid #fff4d944;
  color: inherit;
  border-radius: 30px;
  padding: 10px 15px;
  font:
    10px Manrope,
    sans-serif;
  cursor: pointer;
}
main {
  position: relative;
}
section {
  min-height: 110vh;
  padding: 110px 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 500;
  line-height: 2;
}
.hero {
  min-height: 100svh;
  flex-direction: column;
  text-align: center;
  padding-top: 150px;
  text-shadow: 0 2px 30px #30251580;
}
.small-script {
  font:
    italic 23px "Cormorant Garamond",
    serif;
  margin: 26px 0 16px;
}
h1,
h2,
.signature,
.date-card strong,
.closing-monogram {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(64px, 8.5vw, 132px);
  line-height: 0.85;
  margin: 10px 0 38px;
  letter-spacing: -3px;
}
h1 span {
  display: block;
  font-size: 0.5em;
  font-style: italic;
  color: #eac58d;
  line-height: 1.1;
}
h2 {
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.02;
  margin: 24px 0;
}
.hero-date {
  font-size: 12px;
  letter-spacing: 2px;
}
.hero-date b {
  padding: 0 12px;
}
.scroll {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 65px;
}
.scroll span {
  display: block;
  font-size: 24px;
  margin-top: 14px;
}
.paper {
  background: #fff4e4f2;
  color: var(--brown);
  padding: 75px 75px 55px;
  max-width: 650px;
  text-align: center;
  box-shadow: 0 25px 90px #241c1930;
  border: 1px solid #fff6;
  position: relative;
}
.paper:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #b993553b;
  pointer-events: none;
}
.paper p {
  font-size: 14px;
  line-height: 1.95;
  max-width: 420px;
  margin: 22px auto;
}
.signature {
  font-size: 30px;
  font-style: italic;
  margin-top: 35px;
}
.ornament {
  font-size: 34px;
  color: #a87642;
  margin-top: 25px;
}
.letter {
  justify-content: flex-start;
  padding-left: 12%;
}
.day {
  gap: 12%;
  justify-content: space-between;
}
.day-heading {
  max-width: 520px;
}
.day-heading p {
  font-size: 13px;
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 17px 22px;
  margin-top: 22px;
  border: 1px solid #ead9b480;
  font-size: 11px;
  transition: background 0.2s;
}
.button:hover {
  background: #fff2d920;
}
.date-card {
  min-width: 270px;
  background: #f5e6cfe8;
  color: var(--brown);
  padding: 35px 50px;
  text-align: center;
  box-shadow: 0 20px 60px #22170f30;
}
.date-card span,
.date-card div {
  font-size: 10px;
  letter-spacing: 3px;
}
.date-card strong {
  display: block;
  font-size: 140px;
  line-height: 1.1;
}
.date-card hr {
  border: 0;
  border-top: 1px solid #b6a183;
  margin: 28px 0;
}
.date-card b {
  font:
    40px "Cormorant Garamond",
    serif;
}
.date-card p {
  font-size: 11px;
}
.programme {
  justify-content: flex-end;
}
.programme .paper {
  width: 650px;
  padding-top: 60px;
}
.paper .intro {
  font:
    italic 21px/1.35 "Cormorant Garamond",
    serif;
}
ol {
  list-style: none;
  padding: 15px 0 0;
  margin: 0;
  text-align: left;
}
li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #a98b6429;
}
li time {
  font-size: 10px;
  padding-top: 4px;
  color: #956939;
}
li h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}
li p {
  font-size: 11px !important;
  line-height: 1.6 !important;
  margin: 5px 0 0 !important;
}
.paper .end {
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 0;
}
.venue-card {
  max-width: 1000px;
  width: 100%;
  background: #fff3e3ed;
  color: var(--brown);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  box-shadow: 0 25px 70px #241c1940;
}
.venue-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.venue-card > div {
  padding: 45px;
}
.venue h2 {
  font-size: 70px;
}
.venue h2 em {
  display: block;
  font-size: 33px;
}
.venue p {
  font:
    italic 23px/1.5 "Cormorant Garamond",
    serif;
}
.closing {
  min-height: 110vh;
  flex-direction: column;
  text-align: center;
}
.closing h2 {
  font-size: 100px;
}
.countdown {
  display: flex;
  gap: 35px;
  margin: 20px 0;
}
.countdown strong {
  display: block;
  font:
    48px "Cormorant Garamond",
    serif;
}
.countdown small {
  font-size: 8px;
  letter-spacing: 2px;
}
.closing > p {
  font-size: 12px;
  letter-spacing: 2px;
}
.closing-monogram {
  font-size: 75px;
  margin: 45px 0;
}
.back {
  font-size: 10px;
  letter-spacing: 1px;
}
footer {
  font-size: 8px;
  letter-spacing: 3px;
  margin-top: 70px;
}
nav {
  position: fixed;
  right: 25px;
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
nav a {
  width: 6px;
  height: 6px;
  border: 1px solid #ffedcaaa;
  border-radius: 50%;
  transition: 0.3s;
}
nav a.active {
  background: var(--cream);
  box-shadow: 0 0 0 4px #ffedca22;
}
body.no-webgl {
  background:
    linear-gradient(#66554288, #32291d99),
    url("assets/florals.jpg") center/cover fixed;
}
body.no-webgl #garden {
  display: none;
}
@media (max-width: 700px) {
  header {
    padding: 22px 6%;
  }
  header > span {
    display: none;
  }
  section {
    padding: 90px 7%;
    min-height: 100svh;
  }
  .hero {
    padding-top: 120px;
  }
  h1 {
    font-size: 69px;
    letter-spacing: -2px;
  }
  .small-script {
    font-size: 19px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .paper {
    padding: 55px 30px 40px;
  }
  .letter {
    padding-left: 7%;
  }
  .day {
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    text-align: center;
  }
  .day h2 {
    font-size: 55px;
  }
  .date-card {
    min-width: 240px;
    padding: 25px 45px;
  }
  .date-card strong {
    font-size: 110px;
  }
  .programme .paper {
    padding: 50px 27px 35px;
  }
  li {
    grid-template-columns: 67px 1fr;
    gap: 10px;
  }
  li time {
    font-size: 8px;
  }
  li h3 {
    font-size: 22px;
  }
  .venue-card {
    grid-template-columns: 1fr;
  }
  .venue-card img {
    height: 260px;
  }
  .venue-card > div {
    padding: 20px 30px 40px;
    text-align: center;
  }
  .venue h2 {
    margin-top: 12px;
  }
  .closing h2 {
    font-size: 78px;
  }
  .countdown {
    gap: 25px;
  }
  .countdown strong {
    font-size: 40px;
  }
  nav {
    right: 11px;
    gap: 14px;
  }
  nav a {
    width: 4px;
    height: 4px;
  }
  .paper p {
    font-size: 13px;
  }
  .signature {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.letter .paper {
  padding-top: 130px;
  background:
    linear-gradient(#fff4e400 0, #fff4e4 120px),
    url("assets/florals.jpg") center top/100% auto no-repeat,
    #fff4e4;
}
/* Moonlit sakura garden: dark, quiet centre; warm ivory reading surfaces. */
:root {
  --cream: #fff5e4;
  --brown: #392b25;
  --gold: #dbb98a;
}
body {
  background: #0d1421;
}
.garden-backdrop {
  position: fixed;
  inset: 0;
  background: #0d1421 var(--garden-landscape, url("assets/night-garden.webp"))
    center/cover no-repeat;
  pointer-events: none;
}
#garden {
  z-index: 0;
}
.shade {
  z-index: 1;
  background:
    radial-gradient(
      ellipse at 50% 39%,
      #070f2066 0%,
      #070f202b 47%,
      #070f2010 75%
    ),
    linear-gradient(0deg, #050b169c, transparent 30%, #080f2030 80%, #080e1a55);
}
main {
  z-index: 2;
}
header {
  z-index: 3;
  padding: 28px 5%;
  text-shadow: 0 2px 10px #000;
}
header button {
  background: #1017248c;
  border-color: #f7ddb65c;
  backdrop-filter: blur(12px);
  font-size: 11px;
}
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  text-shadow:
    0 3px 28px #000,
    0 1px 5px #0008;
}
.hero .eyebrow {
  color: #f2d7b7;
  letter-spacing: 4px;
}
.hero:before {
  content: "✧";
  color: #e2c295;
  font:
    30px Georgia,
    serif;
  margin-bottom: 22px;
}
.small-script {
  font-size: 25px;
  margin-top: 28px;
  color: #f1dccc;
}
h1 {
  font-size: clamp(70px, 8vw, 124px);
  line-height: 0.91;
  letter-spacing: -2px;
  margin-top: 18px;
  font-weight: 500;
}
h1 span {
  font-weight: 400;
  font-size: 0.43em;
  line-height: 1.2;
  margin: 6px 0;
  color: #e7bb83;
}
.hero-date {
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 5px;
  background: #0b15254f;
  box-shadow: 0 0 45px 20px #0b152536;
  border-radius: 30px;
}
.scroll {
  font-size: 10px;
  line-height: 1.6;
  margin-top: 60px;
}
.scroll span {
  color: #e6c89c;
}
.paper {
  background: #fff4e9fa;
  box-shadow: 0 30px 100px #03071380;
  border-color: #f9e1c66b;
}
.paper p {
  font-size: 15px;
  line-height: 1.9;
}
.paper .intro {
  font-size: 23px;
}
.letter .paper {
  padding-top: 130px;
  background:
    linear-gradient(#fff4e900 0, #fff4e9 116px),
    url("assets/florals.jpg") center top/100% auto no-repeat,
    #fff4e9;
}
.day-heading {
  background: #091221d9;
  border: 1px solid #edd3b540;
  backdrop-filter: blur(16px);
  padding: 45px 42px;
  box-shadow: 0 20px 80px #0004;
}
.day-heading h2 {
  font-size: clamp(45px, 4.7vw, 68px);
}
.day-heading p {
  font-size: 14px;
}
.button {
  font-size: 12px;
  border-color: #e3c39688;
  background: #b28c5726;
}
.date-card {
  background: #f7e8d8fa;
  box-shadow: 0 25px 100px #03071380;
}
.date-card span,
.date-card div {
  text-transform: uppercase;
}
.programme .paper {
  padding-bottom: 45px;
}
li {
  padding: 19px 0;
}
li time {
  color: #7e532c;
  font-size: 11px;
}
li h3 {
  font-size: 26px;
}
li p {
  font-size: 12px !important;
}
.venue-card {
  background: #fff3e6fa;
  box-shadow: 0 25px 100px #03071380;
}
.venue-card img {
  object-fit: contain;
  height: auto;
}
.venue-map {
  display: inline-block;
  font-size: 12px;
  border-bottom: 1px solid #916d42;
  padding-bottom: 8px;
  margin-top: 14px;
}
.closing {
  text-shadow:
    0 3px 30px #000,
    0 1px 6px #000a;
  position: relative;
}
.closing:before {
  content: "";
  position: absolute;
  width: min(640px, 90vw);
  height: 620px;
  background: radial-gradient(ellipse, #080f20b0, transparent 70%);
  z-index: -1;
}
.closing h2 {
  font-style: italic;
}
.countdown {
  padding: 18px 30px;
  border-top: 1px solid #f5dfbe66;
  border-bottom: 1px solid #f5dfbe66;
  background: #0b152555;
  backdrop-filter: blur(8px);
}
.countdown small {
  color: #ead7bc;
}
.countdown strong {
  font-variant-numeric: tabular-nums;
}
.closing-monogram {
  color: #e8c795;
}
nav {
  z-index: 3;
  background: #0a14215c;
  padding: 16px 8px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
nav a {
  width: 7px;
  height: 7px;
}
body.no-webgl {
  background: #0d1421;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #e9c08e;
  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")
    );
  }
  .hero {
    padding: 120px 6% 70px;
    min-height: 100svh;
  }
  .hero:before {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .hero .eyebrow {
    letter-spacing: 2.6px;
    font-size: 8px;
  }
  .small-script {
    font-size: 21px;
    max-width: 290px;
    margin-top: 24px;
  }
  h1 {
    font-size: clamp(51px, 15.9vw, 81px);
    letter-spacing: -1.6px;
    margin-top: 18px;
    margin-bottom: 32px;
  }
  .hero-date {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .scroll {
    margin-top: 52px;
    font-size: 9px;
  }
  .shade {
    background:
      radial-gradient(ellipse at 50% 42%, #070f207a, #070f2024 75%),
      linear-gradient(0deg, #050b1680, transparent 55%);
  }
  .day-heading {
    padding: 36px 28px;
  }
  .day-heading h2 {
    font-size: 50px;
  }
  .paper p {
    font-size: 14px;
  }
  .paper .intro {
    font-size: 21px;
  }
  li time {
    font-size: 9px;
  }
  li h3 {
    font-size: 23px;
  }
  li p {
    font-size: 12px !important;
  }
  .venue-card > div {
    padding-top: 20px;
  }
  .venue-card img {
    padding: 15px 15px 0;
  }
  nav {
    right: 6px;
    padding: 14px 6px;
  }
  nav a {
    width: 5px;
    height: 5px;
  }
  .countdown {
    padding: 16px 18px;
    gap: 24px;
  }
  .closing .eyebrow {
    font-size: 9px;
  }
  .closing h2 {
    font-size: 82px;
  }
  footer {
    letter-spacing: 2px;
    font-size: 8px;
  }
  header button {
    font-size: 10px;
  }
  .letter .paper {
    padding-top: 105px;
  }
  .programme .paper {
    padding-left: 25px;
    padding-right: 25px;
  }
  li {
    grid-template-columns: 65px 1fr;
  }
  .paper .end {
    font-size: 10px;
  }
  section {
    min-height: 110svh;
  }
}

/* Leave time and room to walk between the reading stops. */
.letter,
.day,
.venue {
  min-height: 145vh;
}
.venue {
  justify-content: flex-start;
}
.venue-card {
  max-width: 510px;
  grid-template-columns: 1fr;
}
.venue-card img {
  max-height: 270px;
  object-fit: contain;
  padding: 18px 18px 0;
}
.venue-card > div {
  padding: 15px 42px 38px;
  text-align: center;
}
.venue-card h2 {
  font-size: 60px;
  margin: 15px 0;
}
.venue-card p {
  font-size: 23px;
  margin: 16px 0 0;
}
.closing {
  min-height: 155vh;
}
@media (max-width: 700px) {
  .letter,
  .day,
  .venue {
    min-height: 145svh;
  }
  .venue-card {
    max-width: 100%;
  }
  .venue-card > div {
    padding: 16px 28px 34px;
  }
  .closing {
    min-height: 145svh;
  }
}
