@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/courier-prime-400.woff2") format("woff2");
}

@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/courier-prime-700.woff2") format("woff2");
}

:root {
  --header-h: 90px;
  --paper: #f7f4ee;
  --nav: #ffffff;
  --ink: #6d2432;
  --type: "Courier Prime", "American Typewriter", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--type);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--nav);
  color: var(--ink);
}

.topbar-inner {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
}

.mark {
  font-size: 37px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.menu-top {
  margin-left: auto;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.menu a {
  display: block;
  margin: 0 25px;
  padding: 7px 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}

.menu a span {
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.menu a[aria-current="page"],
.menu a:hover {
  font-weight: 700;
}

.menu a[aria-current="page"] span,
.menu a:hover span {
  border-bottom-color: currentColor;
}

.nav-burger,
.menu-close {
  display: none;
}

.decor-top,
.decor-bottom {
  background-repeat: no-repeat;
  background-size: auto;
  pointer-events: none;
}

.copy {
  position: relative;
  z-index: 1;
}

.decor-top {
  position: absolute;
  z-index: -1;
  inset: -8% -10% auto -18%;
  height: 125%;
  background-image: url("../assets/lily_1.png");
  background-position: left center;
  background-size: 130% auto;
  opacity: 0.25;
}
/*
.decor-bottom {
  position: fixed;
  left: 950px;
  bottom: 0;
  width: 598px;
  height: 156px;
  background-image: url("../assets/lily_2.png");
  z-index: 1;
}
*/
.split {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: calc(var(--header-h) + 6vw) clamp(20px, 3vw, 48px) 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 72px);
  min-height: 100vh;
}

.copy h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(46px, 4.2vw, 9vw);
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(109, 36, 50, 0.28);
}

.rule {
  width: 10%;
  min-width: 64px;
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--ink);
}

.claim,
.place {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(16px, 1.25vw, 32px);
  line-height: 1.45;
}

.date {
  margin: 8px 0 0;
  font-size: clamp(28px, 2.5vw, 72px);
  line-height: 1.2;
}

.welcome-title {
  margin: 0 0 12px;
  font-weight: 400;
  font-size: clamp(32px, 2.64vw, 80px);
  line-height: 1.2;
}

.welcome-copy {
  margin: 0;
  max-width: none;
  font-size: clamp(17px, 1.32vw, 36px);
  line-height: 1.6;
}

.photo {
  position: sticky;
  top: 140px;
  align-self: start;
  z-index: 1;
}

.photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 80px) 28px 40px;
  position: relative;
  z-index: 1;
}

.page h1 {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
}

.lede,
.page p,
.answer {
  font-size: 17px;
  line-height: 1.6;
}

.qa {
  margin-top: 8px;
}

.qa article {
  padding: 18px 0;
  border-top: 1px solid #ddd;
}

.qa h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.qa p {
  margin: 0 0 8px;
}

.qa a {
  text-decoration: underline;
}

.party {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 28px 16px;
}

.party li {
  text-align: center;
}

.party .role {
  margin: 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.party .who {
  margin: 4px 0 0;
  font-size: 18px;
}

.albums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}

.album {
  min-height: 220px;
  border: 1px solid #ddd;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fafafa center / cover no-repeat;
}

.album h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 400;
}

.album p {
  margin: 0;
}

.stores {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.stores li {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
}

.stack label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stack input,
.stack textarea {
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px 12px;
}

.stack textarea {
  min-height: 120px;
}

.stack button,
.linkish {
  align-self: flex-start;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.note {
  margin: 16px 0 0;
}

.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 20px 48px;
  font-size: 17px;
}

.foot p {
  margin: 0 0 4px;
}

@media (max-width: 1440px) {
  .split {
    gap: 40px;
  }
}

@media (max-width: 1100px) {
  .split {
    gap: 20px;
    padding-top: calc(var(--header-h) + 48px);
  }
}

@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
  }

  .photo {
    position: relative;
    top: auto;
    order: -1;
    margin-top: 12px;
  }

  .decor-bottom {
    position: absolute;
  }

  .decor-bottom {
    width: min(270px, 70vw);
    height: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 74px;
  }

  .nav-burger {
    display: block;
    width: 50px;
    height: 50px;
    margin-left: auto;
    border: 0;
    padding: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
  }

  .nav-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--ink);
  }

  .nav-burger span:nth-child(1) { top: 16px; }
  .nav-burger span:nth-child(2) { top: 24px; }
  .nav-burger span:nth-child(3) { top: 32px; }

  .menu-top {
    position: fixed;
    top: 0;
    bottom: 0;
    right: calc(-100% + 100px);
    width: calc(100% - 100px);
    margin: 0;
    background: #ffffff;
    opacity: 0;
    overflow: auto;
    z-index: 6;
    transition: right 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }

  .menu-top.open {
    right: 0;
    opacity: 1;
  }

  .menu-close {
    display: block;
    width: 100%;
    height: 70px;
    border: 0;
    border-bottom: 1px solid rgba(109, 36, 50, 0.18);
    background: transparent;
    text-align: left;
    padding: 0 25px;
    cursor: pointer;
  }

  .menu {
    display: block;
    padding-top: 8px;
  }

  .menu a {
    margin: 0;
    padding: 15px 25px;
  }

  .albums {
    grid-template-columns: 1fr;
  }

  .copy h1 {
    font-size: 36px;
  }

  .date {
    font-size: 24px;
  }
}
