@font-face {
  font-family: Cormorant;
  src: url("/art/serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/art/sans.woff2") format("woff2");
  font-display: swap;
}
:root {
  --paper: #f9f5ec;
  --forest: #263a30;
  --sage: #515e4c;
  --gold: #ecd7b5;
  --serif: Cormorant, Georgia, serif;
  color: var(--forest);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #af7547;
  outline-offset: 5px;
}
.cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: 100svh;
  background: var(--forest);
  color: #fff8e9;
  isolation: isolate;
}
.cover-image {
  grid-column: 2;
  grid-row: 1;
  min-height: 100%;
  background: #55614c url("/art/taman.webp") 50% 45% / cover no-repeat;
}
.cover-content {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  align-self: center;
  text-align: center;
  padding: clamp(64px, 8vw, 120px) clamp(30px, 5vw, 90px);
  overflow-wrap: anywhere;
}
.frame {
  position: absolute;
  inset: 20px calc(54% + 20px) 20px 20px;
  border: 1px solid #ecd7b577;
  pointer-events: none;
}
.eyebrow {
  color: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.cover .eyebrow {
  color: var(--gold);
}
h1 {
  margin: 30px auto 22px;
  font: 500 clamp(3rem, 6.1vw, 7rem)/0.85 var(--serif);
  letter-spacing: -0.045em;
}
h1 span,
h1 i {
  display: block;
}
h1 i {
  color: var(--gold);
  font: 500 0.55em/1.25 var(--serif);
}
.cover-date {
  color: var(--gold);
  font-size: 0.95rem;
}
.recipient {
  max-width: 26em;
  margin: 28px auto 24px;
  padding-top: 23px;
  border-top: 1px solid #ecd7b55c;
}
.recipient span {
  font-size: 0.85rem;
  display: block;
}
.recipient strong {
  font: 500 1.65rem/1.15 var(--serif);
  display: block;
  margin-top: 5px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--paper);
  color: var(--forest);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: #f0e4cd;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 8vw, 140px);
  padding: clamp(65px, 9vw, 140px) max(20px, calc((100% - 1020px) / 2));
  overflow-wrap: anywhere;
}
.details .eyebrow {
  color: var(--sage);
}
.details h2 {
  font: 500 clamp(2.35rem, 5vw, 4.3rem)/0.98 var(--serif);
  margin: 16px 0;
}
.intro p:last-child {
  color: var(--sage);
}
.event-card {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #c8c6ae;
  text-align: center;
  background: #fffaf0;
}
.event-card h3 {
  font: 500 2.25rem/1 var(--serif);
  margin: 12px 0 18px;
}
.address {
  margin-top: 12px;
  white-space: pre-line;
}
.map {
  margin-top: 24px;
  background: var(--forest);
  color: var(--paper);
}
.map:hover {
  background: #41584a;
}
footer {
  text-align: center;
  padding: 38px 24px 67px;
  color: var(--paper);
  background: var(--forest);
}
footer strong {
  font: 500 2.1rem var(--serif);
  overflow-wrap: anywhere;
}
.music {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  border-radius: 28px;
  border-color: #c8c6ae;
  box-shadow: 0 5px 24px #18231d30;
  padding-inline: 16px;
}
.music-error {
  position: fixed;
  right: 12px;
  bottom: 68px;
  background: var(--paper);
  padding: 8px 12px;
}
@media (max-width: 680px) {
  .cover {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .cover-image {
    grid-column: 1;
    align-self: stretch;
    background-image:
      linear-gradient(180deg, #192b2020, #182c20a0 49%, #112519f2 100%),
      url("/art/taman.webp");
    background-position: center;
  }
  .frame {
    inset: 13px;
  }
  .cover-content {
    padding: 92px 31px 52px;
    align-self: end;
  }
  h1 {
    font-size: clamp(3.5rem, 14vw, 5.7rem);
  }
  .details {
    grid-template-columns: 1fr;
    text-align: center;
    padding-inline: 24px;
    gap: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
