:root {
  --acid: #dfff38;
  --blue: #1f43ff;
  --pink: #ff3d91;
  --orange: #ff6c22;
  --paper: #f2edd8;
  --black: #101010;
  --display: "Oswald", sans-serif;
  --mono: "Fira Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font: 15px/1.55 var(--mono);
  letter-spacing: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px white;
}
.skip-link {
  position: fixed;
  z-index: 99;
  left: 8px;
  top: 8px;
  background: var(--acid);
  padding: 10px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3vw, 48px);
  border-bottom: 2px solid var(--black);
  background: var(--acid);
}
.logo {
  font: 700 19px var(--display);
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 28px;
}
.site-header nav a {
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.menu-button {
  display: none;
  border: 2px solid var(--black);
  background: transparent;
  padding: 8px 10px;
  font: 500 11px var(--mono);
}
.hero {
  min-height: 100svh;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  position: relative;
  overflow: hidden;
  background: var(--acid);
  border-bottom: 2px solid var(--black);
}
.hero-copy {
  padding: clamp(80px, 11vw, 170px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy > p,
.index {
  text-transform: uppercase;
  font-size: 11px;
}
.hero h1 {
  margin: 30px 0 0;
  font: 700 clamp(68px, 10vw, 156px)/0.84 var(--display);
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
}
.hero h1 i {
  display: block;
  color: var(--blue);
  font-style: normal;
}
.countdown {
  width: min(440px, 100%);
  margin-top: 42px;
  border: 2px solid var(--black);
  background: var(--paper);
}
.countdown > p {
  margin: 0;
  padding: 8px 10px;
  border-bottom: 2px solid var(--black);
  background: var(--pink);
  font-size: 10px;
  text-transform: uppercase;
}
.countdown > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.countdown span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-right: 2px solid var(--black);
}
.countdown span:last-child {
  border-right: 0;
}
.countdown strong {
  font: 600 26px/1 var(--display);
}
.countdown small {
  font-size: 9px;
  text-transform: uppercase;
}
.hero-photo {
  margin: 0;
  position: relative;
  border-left: 2px solid var(--black);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.1);
  transition: transform 1s;
}
.hero-photo:hover img {
  transform: scale(1.035);
}
.hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  padding: 12px 18px;
  background: var(--pink);
  border-block: 2px solid var(--black);
  font-size: 11px;
  text-transform: uppercase;
}
.hero-stamp {
  position: absolute;
  z-index: 4;
  right: calc(44% - 58px);
  top: 120px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--orange);
  font: 600 13px/1.2 var(--display);
  transform: rotate(9deg);
}
.ticker {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  overflow: hidden;
  background: var(--blue);
  color: white;
  border-top: 2px solid var(--black);
  white-space: nowrap;
}
.ticker span {
  display: inline-block;
  padding: 10px 0;
  animation: ticker 16s linear infinite;
  font-weight: 500;
}
.section {
  padding: clamp(85px, 11vw, 160px) clamp(24px, 6vw, 94px);
  border-bottom: 2px solid var(--black);
}
.manifest {
  background: var(--paper);
}
.manifest h2,
.schedule h2,
.place h2,
.dress h2,
.rsvp h2 {
  font: 600 clamp(48px, 7vw, 112px)/0.94 var(--display);
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 35px 0;
}
.manifest h2 em,
.dress h2 em {
  font-style: normal;
  color: var(--blue);
}
.manifest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 8vw, 130px);
  max-width: 1050px;
  margin-left: auto;
  font-size: 17px;
}
.signature {
  width: max-content;
  margin: 70px 0 0 auto;
  padding: 15px 22px;
  background: var(--pink);
  border: 2px solid var(--black);
  font: 600 20px var(--display);
  transform: rotate(-3deg);
}
.gallery {
  background: var(--paper);
}
.gallery-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
}
.gallery-head h2 {
  margin: 35px 0 0;
  font: 600 clamp(48px, 7vw, 112px)/0.94 var(--display);
  text-transform: uppercase;
}
.gallery-head p {
  max-width: 430px;
  font-size: 17px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  margin-top: 60px;
  border: 2px solid var(--black);
}
.gallery-grid button {
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-right: 2px solid var(--black);
  border-radius: 0;
  background: var(--acid);
  color: var(--black);
  text-align: left;
  cursor: zoom-in;
}
.gallery-grid button:last-child {
  border-right: 0;
}
.gallery-crop {
  grid-column: 1 / -1;
  min-height: clamp(250px, 34vw, 520px);
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.25) contrast(1.08);
  transition: transform 0.45s, filter 0.45s;
}
.gallery-grid button:hover .gallery-crop {
  transform: scale(1.04);
  filter: saturate(1.5) contrast(1.05);
}
.gallery-grid b,
.gallery-grid em {
  position: relative;
  padding: 12px;
  border-top: 2px solid var(--black);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}
.gallery-grid em {
  text-align: right;
}
.crop-one {
  background-position: 18% center;
}
.crop-two {
  background-position: 52% center;
}
.crop-three {
  background-position: 84% center;
}
.schedule {
  background: var(--blue);
  color: white;
}
.schedule-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.schedule-head p {
  text-transform: uppercase;
}
.schedule ol {
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
  border-top: 2px solid white;
}
.schedule li {
  display: grid;
  grid-template-columns: 150px 1fr 1.4fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 2px solid white;
}
.schedule time {
  font: 600 32px var(--display);
  color: var(--acid);
}
.schedule h3 {
  font: 600 26px var(--display);
  text-transform: uppercase;
}
.schedule p {
  max-width: 520px;
}
.place {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--pink);
  border-bottom: 2px solid var(--black);
}
.place-copy {
  padding: clamp(80px, 10vw, 150px) clamp(24px, 6vw, 90px);
}
.place-copy p {
  max-width: 500px;
}
.place-copy a {
  display: inline-block;
  margin-top: 25px;
  font-weight: 500;
  text-decoration-thickness: 2px;
}
.place-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--orange);
  border-left: 2px solid var(--black);
  font: 600 clamp(20px, 3vw, 48px) var(--display);
}
.place-art::before,
.place-art::after {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 3px solid var(--black);
  transform: rotate(45deg);
}
.place-art::after {
  width: 43%;
}
.place-art span,
.place-art b {
  position: relative;
  z-index: 2;
  background: var(--orange);
  padding: 8px;
}
.place-art b {
  font-size: 90px;
}
.dress {
  background: var(--acid);
}
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 2px solid var(--black);
  margin-top: 60px;
}
.swatches span {
  min-height: 150px;
  display: flex;
  align-items: end;
  padding: 12px;
  background: var(--c);
  border-right: 2px solid var(--black);
  font-size: 11px;
  text-transform: uppercase;
}
.swatches span:last-child {
  border: 0;
}
.dress-note {
  max-width: 680px;
  margin: 40px 0 0 auto;
  font-size: 17px;
}
.rsvp {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 10vw, 150px);
  background: var(--orange);
}
.rsvp > div > p:last-child {
  max-width: 430px;
}
.rsvp form {
  display: grid;
  gap: 25px;
  align-content: start;
}
.rsvp label {
  display: grid;
  gap: 8px;
  text-transform: uppercase;
  font-size: 11px;
}
.rsvp input,
.rsvp select {
  height: 54px;
  border: 0;
  border-bottom: 2px solid var(--black);
  border-radius: 0;
  background: transparent;
  font: 16px var(--mono);
  outline: none;
}
.rsvp input:focus-visible,
.rsvp select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.rsvp button {
  height: 58px;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--black);
  color: white;
  font: 600 12px var(--display);
  cursor: pointer;
}
.rsvp button:hover {
  background: var(--acid);
  color: var(--black);
}
.form-status {
  min-height: 26px;
  font-weight: 500;
}
.lightbox {
  width: min(1160px, calc(100% - 28px));
  max-width: none;
  height: min(840px, calc(100% - 28px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--black);
  background: var(--paper);
  color: var(--black);
}
.lightbox::backdrop {
  background: rgba(16, 16, 16, 0.9);
}
.lightbox-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lightbox-top,
.lightbox-controls {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px;
  background: var(--acid);
}
.lightbox-top {
  border-bottom: 2px solid var(--black);
}
.lightbox-top h2 {
  margin: 0;
  font: 600 24px var(--display);
  text-transform: uppercase;
}
.lightbox button {
  padding: 9px;
  border: 2px solid var(--black);
  background: var(--paper);
  color: var(--black);
  font: 600 11px var(--mono);
  cursor: pointer;
}
.lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.lightbox-controls {
  border-top: 2px solid var(--black);
  background: var(--pink);
}
.lightbox-controls p {
  margin: 0;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}
body.is-modal-open {
  overflow: hidden;
}
footer {
  height: 110px;
  padding: 0 clamp(24px, 6vw, 94px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: white;
  text-transform: uppercase;
  font-size: 11px;
}
footer strong {
  font: 600 20px var(--display);
}
[data-reveal] {
  opacity: 1;
  transform: none;
}
.js [data-reveal] {
  transition: opacity 0.7s, transform 0.7s;
}
.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 58px;
  }
  .site-header nav {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 24px;
    background: var(--acid);
    border-bottom: 2px solid var(--black);
  }
  .site-header.is-open nav {
    display: flex;
  }
  .menu-button {
    display: block;
  }
  .hero {
    padding-top: 58px;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    min-height: 75svh;
    padding: 100px 22px 80px;
  }
  .hero h1 {
    font-size: clamp(62px, 20vw, 96px);
  }
  .hero-photo {
    height: 66svh;
    border-left: 0;
    border-top: 2px solid var(--black);
  }
  .hero-stamp {
    right: 18px;
    top: 56svh;
    width: 96px;
    height: 96px;
  }
  .section {
    padding: 80px 22px;
  }
  .manifest h2,
  .schedule h2,
  .place h2,
  .dress h2,
  .rsvp h2 {
    font-size: clamp(43px, 12vw, 66px);
  }
  .manifest-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid button,
  .gallery-grid button:last-child {
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }
  .gallery-grid button:last-child {
    border-bottom: 0;
  }
  .gallery-crop {
    min-height: 60vw;
  }
  .schedule-head {
    display: block;
  }
  .schedule li {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
  .schedule li p {
    grid-column: 1/-1;
    margin: 0;
  }
  .place {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .place-copy {
    padding: 80px 22px;
  }
  .place-art {
    min-height: 430px;
    border-left: 0;
    border-top: 2px solid var(--black);
  }
  .swatches {
    grid-template-columns: 1fr;
  }
  .swatches span {
    min-height: 60px;
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }
  .rsvp {
    grid-template-columns: 1fr;
  }
  footer span {
    display: none;
  }
  .lightbox {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }
  .lightbox-controls {
    gap: 5px;
    padding-inline: 7px;
  }
  .lightbox-controls p {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .manifest h2,
  .schedule h2,
  .place h2,
  .dress h2,
  .rsvp h2 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker span {
    animation: none;
  }
  .js [data-reveal],
  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
