:root {
  --cream: #faf2e8;
  --sage: #ac807e;
  --olive: #32191f;
  --gold: #d4b88a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --wine: #411d29;
  --muted: #b8a4a5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #24151c;
  color: var(--cream);
  font: 16px/1.7 var(--sans);
}
body.locked {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}
h2 {
  font-size: clamp(40px, 10vw, 54px);
}
h3 {
  font-size: 34px;
}
em,
i {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.4px;
  line-height: 1.8;
  color: var(--gold);
}
.tiny {
  font-size: 12px;
  color: var(--muted);
}
.monogram {
  font: 34px var(--serif);
  letter-spacing: -3px;
}
.monogram span {
  font-size: 23px;
  color: var(--gold);
  font-style: italic;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 24px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--olive);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  background: #ead3af;
  transform: translateY(-2px);
}
.cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--olive);
  transition:
    opacity 0.8s,
    visibility 0.8s;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px;
}
.cover.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cover-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cover-photo img {
  filter: brightness(0.38) saturate(0.45);
  object-position: 50% 35%;
}
.cover-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#32191f44, #32191f22 35%, #32191fe6);
}
.cover-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  min-height: min(760px, calc(100svh - 44px));
  width: 100%;
  max-width: 460px;
  border: 1px solid #d4b88a70;
  outline: 1px solid #d4b88a30;
  outline-offset: -8px;
  border-radius: 240px 240px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 18px 28px;
}
.cover .monogram {
  margin-bottom: 28px;
}
.cover h1 {
  font-size: clamp(60px, 18vw, 88px);
  letter-spacing: -2px;
  line-height: 0.83;
  margin: 24px 0 28px;
}
.cover h1 i {
  display: block;
  font-size: 36px;
  line-height: 1.2;
  margin: 5px;
}
.date-line {
  display: flex;
  gap: 13px;
  align-items: center;
}
.date-line span {
  font: 39px var(--serif);
  border-right: 1px solid #d4b88a70;
  padding-right: 13px;
}
.date-line b {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-align: left;
}
.cover-quote {
  font: italic 21px/1.4 var(--serif);
  margin: 24px 0;
  color: #eadbd2;
}
.cover-quote em {
  color: #eadbd2;
}
.guest {
  margin-bottom: 22px;
}
.guest p {
  font-size: 12px;
  color: #ddcfc4;
}
.guest strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin-top: 5px;
}
.cover .tiny {
  font-size: 10px;
  max-width: 250px;
  margin: 16px auto 0;
}
.corner-mark,
.photo-caption,
.photo-number {
  display: none;
}
.desktop-scene {
  display: none;
}
main {
  width: 100%;
  max-width: 600px;
  margin: auto;
  background: var(--olive);
  box-shadow: 0 0 100px #0005;
  overflow: clip;
}
.nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 410px;
  background: #faf2e8f2;
  color: var(--olive);
  border: 1px solid #d4b88a60;
  border-radius: 50px;
  padding: 12px 20px;
  z-index: 20;
  box-shadow: 0 6px 35px #0004;
  backdrop-filter: blur(16px);
}
.nav > .monogram {
  display: none;
}
.nav nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.nav a {
  display: block;
  padding: 4px 3px;
}
.nav a.active {
  color: #9b4d62;
}
.nav .nav-rsvp {
  border-left: 1px solid #32191f25;
  padding-left: 18px;
}
.hero {
  position: relative;
  min-height: 800px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding: 80px 25px 100px;
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  filter: saturate(0.45);
  object-position: 50% 30%;
}
.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    #32191f20,
    #32191f10 20%,
    #32191fc9 60%,
    #32191f 100%
  );
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  margin-bottom: 20px;
  color: #ead3af;
}
.hero h2 {
  font-size: clamp(70px, 22vw, 112px);
  letter-spacing: -2px;
  line-height: 0.85;
}
.hero h2 i {
  display: inline-block;
  font-size: 0.55em;
}
.hero h2 br {
  display: none;
}
.hero-sub {
  font: 22px/1.45 var(--serif);
  margin-top: 27px;
  color: #f0dfd2;
}
.hero-sub em {
  color: #f0dfd2;
}
.hero-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  margin: 26px 0;
}
.hero-date span {
  font: 25px var(--serif);
  border-left: 1px solid #d4b88a70;
  border-right: 1px solid #d4b88a70;
  padding: 0 13px;
}
.text-link {
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  border-bottom: 1px solid #d4b88a60;
  padding-bottom: 5px;
}
.text-link span {
  margin-left: 15px;
}
.hero-bottom {
  position: absolute;
  top: 28px;
  left: 25px;
  right: 25px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 2px;
}
.image-note {
  display: none;
}
.quote-section {
  text-align: center;
  padding: 45px 30px 65px;
}
.flourish {
  font: 56px var(--serif);
  color: var(--gold);
}
blockquote {
  font: italic 27px/1.45 var(--serif);
  margin: 24px 0;
}
.gold {
  color: var(--gold);
}
.section {
  padding: 65px 26px;
}
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin: 13px 0 20px;
}
.section-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
}
.section-heading br {
  display: none;
}
.couple-section {
  background: var(--cream);
  color: var(--olive);
}
.couple-section .eyebrow {
  color: #96654f;
}
.couple-section .section-heading > p:last-child {
  color: #796369;
}
.couple-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.person {
  text-align: center;
  width: 100%;
}
.portrait {
  height: 370px;
  width: 80%;
  max-width: 300px;
  margin: 0 auto 26px;
  overflow: hidden;
  border-radius: 150px 150px 4px 4px;
  outline: 1px solid #b78c6570;
  outline-offset: 7px;
}
.portrait img {
  filter: saturate(0.45);
}
.person h3 {
  font-size: 36px;
  margin: 4px 0 12px;
}
.person > p:not(.eyebrow) {
  font-size: 14px;
  color: #796369;
}
.person strong {
  font-weight: 400;
}
.instagram {
  font-size: 12px;
  display: inline-block;
  margin-top: 16px;
  border: 1px solid #32191f30;
  padding: 5px 15px;
  border-radius: 30px;
}
.ampersand {
  font: italic 68px var(--serif);
  color: #ac806b;
  line-height: 1.2;
}
.save-date {
  text-align: center;
  padding: 65px 20px;
  background: #411d29;
  border-top: 1px solid #d4b88a40;
  border-bottom: 1px solid #d4b88a40;
}
.save-date h2 {
  margin: 16px 0 20px;
  font-size: 44px;
}
.save-date > p:not(.eyebrow) {
  font-size: 14px;
  color: #decbc5;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 20px;
}
.countdown div {
  border: 1px solid #d4b88a40;
  border-radius: 40px 40px 5px 5px;
  padding: 14px 7px 10px;
  min-width: 57px;
}
.countdown b {
  font: 40px var(--serif);
  font-variant-numeric: tabular-nums;
  display: block;
}
.countdown span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #c4b0a5;
}
.countdown i {
  display: none;
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: #d4b88a70;
  margin-top: 26px;
}
.btn-outline:hover {
  color: var(--olive);
}
.event-grid {
  display: grid;
  gap: 22px;
}
.event-card {
  padding: 35px 20px;
  text-align: center;
  border: 1px solid #d4b88a40;
  border-radius: 12px;
  background: #3c202a;
}
.event-card.light {
  background: #faf2e8;
  color: var(--olive);
}
.event-card.light .eyebrow {
  color: #986b52;
}
.event-icon {
  display: block;
  font: 52px var(--serif);
  color: var(--gold);
  margin-bottom: 15px;
}
.event-card h3 {
  font-size: 46px;
  margin: 13px 0;
}
.rule {
  height: 1px;
  width: 45px;
  background: var(--gold);
  margin: 22px auto;
}
.event-card p,
.event-card strong {
  font-size: 14px;
  font-weight: 400;
}
.event-card h4 {
  font: 28px var(--serif);
  margin: 27px 0 8px;
}
.event-card .btn {
  margin-top: 24px;
}
.btn-light {
  background: transparent;
  color: inherit;
  border-color: #d4b88a80;
}
.btn-light:hover {
  background: var(--gold);
  color: var(--olive);
}
.story {
  padding-top: 20px;
}
.story-photo {
  height: 440px;
  position: relative;
  margin: 0 -26px 42px;
}
.story-photo img {
  filter: saturate(0.3) brightness(0.8);
}
.story-photo > span {
  position: absolute;
  bottom: 28px;
  left: 28px;
  font: 35px/1.15 var(--serif);
  text-shadow: 0 2px 12px #0006;
}
.story-photo > span em {
  color: var(--cream);
}
.story-copy h2 {
  margin: 14px 0 30px;
}
.timeline {
  border-left: 1px solid #d4b88a60;
  padding-left: 24px;
  margin-left: 5px;
}
.timeline article {
  position: relative;
  padding-bottom: 30px;
}
.timeline article:last-child {
  padding-bottom: 0;
}
.timeline article:before {
  content: "";
  position: absolute;
  left: -29px;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}
.timeline span {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
}
.timeline h3 {
  font-size: 29px;
  margin: 8px 0 12px;
}
.timeline p {
  font-size: 14px;
  color: var(--muted);
}
.gallery-section {
  background: var(--cream);
  color: var(--olive);
}
.gallery-section .eyebrow {
  color: #9c6d55;
}
.gallery-section .section-heading > p:last-child {
  color: #796369;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 440px 250px 230px;
  gap: 10px;
}
.gallery-item {
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--wine);
  border-radius: 4px;
}
.gallery-item.tall {
  grid-column: span 2;
  border-radius: 180px 180px 4px 4px;
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item img {
  filter: saturate(0.4);
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: white;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 7px #000;
}
.gift-section {
  text-align: center;
}
.gift-section h2 {
  margin: 12px 0 22px;
}
.gift-section > div > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.gift-section .flourish {
  display: block;
  margin: 10px;
}
.bank-card {
  text-align: left;
  border: 1px solid #d4b88a70;
  border-radius: 12px;
  background: linear-gradient(135deg, #56313e, #311c27);
  padding: 26px;
  margin-top: 22px;
}
.bank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bank-top strong {
  font-style: italic;
  font-size: 26px;
}
.bank-top span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
}
.bank-number {
  font: 34px var(--serif);
  letter-spacing: 3px;
  margin: 28px 0 8px;
}
.bank-card > p:not(.bank-number) {
  font-size: 14px;
}
.bank-card .btn {
  margin-top: 24px;
  width: 100%;
}
.bank-card small {
  display: block;
  color: #c9b6ad;
  font-size: 11px;
  margin-top: 15px;
  text-align: center;
}
.rsvp-section {
  background: #411d29;
}
.rsvp-card {
  padding: 24px;
  background: var(--cream);
  color: var(--olive);
  border-radius: 12px;
}
.rsvp-card h3 {
  font-size: 35px;
  margin-bottom: 22px;
}
.rsvp-card label {
  display: block;
  font-size: 14px;
  margin: 16px 0 7px;
}
.rsvp-card input,
.rsvp-card select,
.rsvp-card textarea {
  width: 100%;
  min-width: 0;
  background: #fffaf5;
  border: 1px solid #32191f25;
  border-radius: 6px;
  padding: 13px;
  color: var(--olive);
  font-size: 16px;
  outline-color: #b08869;
}
textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  gap: 0;
}
.rsvp-card .btn {
  width: 100%;
  margin-top: 20px;
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}
.form-note {
  font-size: 12px;
  color: #796369;
  line-height: 1.6;
  margin-top: 17px;
}
#form-status {
  font-size: 13px;
  margin-top: 10px;
}
.wishes {
  margin-top: 34px;
}
.wishes-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d4b88a40;
  padding-bottom: 18px;
}
.wishes-heading span {
  font-size: 12px;
  color: var(--muted);
}
.empty-wishes {
  font: italic 25px/1.45 var(--serif);
  padding: 30px 0;
  color: var(--muted);
}
#wish-list {
  max-height: 470px;
  overflow: auto;
}
.wish {
  padding: 22px 0;
  border-bottom: 1px solid #d4b88a30;
  overflow-wrap: anywhere;
}
.wish strong {
  font-size: 14px;
}
.wish small {
  display: block;
  font-size: 12px;
  color: var(--gold);
}
.wish p {
  font-size: 14px;
  margin-top: 10px;
  white-space: pre-wrap;
  color: #dccbc3;
}
.closing {
  position: relative;
  text-align: center;
  min-height: 670px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 135px;
}
.closing > img {
  position: absolute;
  inset: 0;
  filter: saturate(0.3) brightness(0.38);
}
.closing:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#32191f70, transparent, #32191f);
}
.closing > div {
  position: relative;
  z-index: 1;
}
.closing h2 {
  font-size: 62px;
  margin: 18px 0 25px;
}
.closing p {
  font-size: 14px;
}
.closing h3 {
  font-size: 58px;
  margin: 28px 0 14px;
}
.closing span {
  font-size: 12px;
  letter-spacing: 3px;
}
.closing .footer-note {
  position: absolute;
  bottom: 100px;
  left: 20px;
  right: 20px;
  z-index: 1;
  font-size: 9px;
  letter-spacing: 2px;
}
.music-button {
  position: fixed;
  right: 17px;
  bottom: 87px;
  z-index: 101;
  width: 43px;
  height: 43px;
  background: #faf2e8;
  color: var(--olive);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 5px 20px #0003;
  font-size: 24px;
}
.music-button[aria-pressed="true"] {
  background: var(--wine);
  color: var(--gold);
}
.locked .music-button {
  bottom: 20px;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 145px;
  transform: translateX(-50%);
  z-index: 110;
  background: var(--cream);
  color: var(--olive);
  padding: 12px 22px;
  box-shadow: 0 5px 20px #0003;
  border-radius: 8px;
  max-width: 90vw;
  width: max-content;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#toast.show {
  opacity: 1;
}
dialog {
  background: transparent;
  border: 0;
  padding: 0;
  width: 92vw;
  max-width: 1100px;
  color: white;
  overflow: visible;
}
dialog::backdrop {
  background: #201016f5;
}
dialog img {
  max-height: 80vh;
  object-fit: contain;
}
dialog button {
  position: absolute;
  background: var(--cream);
  color: var(--olive);
  border: 0;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  font-size: 30px;
  z-index: 1;
}
#close-lightbox {
  right: 0;
  top: -50px;
}
#prev-photo {
  left: 0;
  top: 50%;
}
#next-photo {
  right: 0;
  top: 50%;
}
#lightbox-caption {
  text-align: center;
  font-size: 12px;
  padding: 12px;
}
@media (min-width: 480px) {
  .section {
    padding-left: 38px;
    padding-right: 38px;
  }
  .story-photo {
    margin-left: -38px;
    margin-right: -38px;
  }
  .form-row {
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
  }
  .countdown {
    gap: 18px;
  }
  .countdown div {
    min-width: 75px;
    padding: 18px 10px;
  }
  .countdown b {
    font-size: 49px;
  }
  .gallery-grid {
    grid-template-rows: 500px 290px 260px;
  }
}
@media (min-width: 960px) {
  main {
    margin: 0 0 0 auto;
    width: 480px;
    max-width: 480px;
  }
  .desktop-scene {
    display: flex;
    position: fixed;
    inset: 0 480px 0 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  .desktop-scene > img {
    position: absolute;
    inset: 0;
    filter: saturate(0.25) brightness(0.42);
    object-position: 45% 30%;
  }
  .desktop-scene:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#32191f30, #32191f88);
  }
  .desktop-scene > div {
    position: relative;
    z-index: 1;
    padding: 50px 35px;
    border: 1px solid #d4b88a60;
    width: 80%;
    max-width: 590px;
  }
  .desktop-scene h2 {
    font-size: clamp(70px, 7vw, 115px);
    margin: 25px 0;
  }
  .desktop-scene h2 em {
    display: block;
    font-size: 0.48em;
    line-height: 1.2;
  }
  .desktop-scene .scene-quote {
    font: italic 24px/1.5 var(--serif);
    margin: 24px 0;
    color: #e3cec1;
  }
  .desktop-scene .scene-date {
    font-size: 12px;
    letter-spacing: 5px;
  }
  .desktop-scene .monogram {
    margin-bottom: 45px;
    display: block;
  }
  .nav {
    left: auto;
    right: 35px;
    transform: none;
    width: 410px;
  }
  .music-button {
    right: 18px;
  }
  .hero {
    min-height: 850px;
  }
  .cover-copy {
    max-width: 460px;
  }
  .cover-photo img {
    object-position: 50% 40%;
  }
  #toast {
    left: auto;
    right: 25px;
    transform: none;
    max-width: 430px;
  }
}
@media (min-width: 1500px) {
  main {
    width: 560px;
    max-width: 560px;
  }
  .desktop-scene {
    right: 560px;
  }
  .nav {
    right: 65px;
    width: 430px;
  }
  .section {
    padding-left: 45px;
    padding-right: 45px;
  }
  .story-photo {
    margin-left: -45px;
    margin-right: -45px;
  }
  .music-button {
    right: 24px;
  }
}
@media (max-height: 760px) {
  .cover-copy {
    padding: 25px 15px;
  }
  .cover .monogram {
    margin-bottom: 15px;
  }
  .cover h1 {
    font-size: 64px;
    margin: 16px 0;
  }
  .cover h1 i {
    font-size: 28px;
  }
  .cover-quote {
    margin: 15px 0;
    font-size: 19px;
  }
  .guest {
    margin-bottom: 16px;
  }
  .cover .tiny {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- refinements ---- */
.cover-copy {
  padding: 48px 20px 34px;
  gap: 0;
}
.cover .monogram {
  margin-bottom: 22px;
}
.cover h1 {
  margin: 18px 0 22px;
}
.guest {
  margin: 30px 0 24px;
}
.guest-note {
  font-size: 12px;
  color: #c9b6ad;
  margin-top: 2px;
}
.cover .tiny {
  max-width: 240px;
  margin-top: 20px;
}
.greeting {
  font: italic 20px/1.4 var(--serif);
  color: var(--gold);
  margin-bottom: 6px;
}
.quote-section {
  padding: 56px 28px 64px;
}
blockquote {
  font-size: 24px;
  margin: 18px 0 22px;
}
.section-heading > p:last-child {
  max-width: 34ch;
  margin-inline: auto;
  line-height: 1.7;
}
.section-heading h2 {
  margin: 12px 0 18px;
}
.hero {
  padding: 80px 24px 112px;
}
.hero-place {
  font-size: 11px;
  letter-spacing: 3px;
  color: #ead3af;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-date {
  margin: 24px 0 8px;
}
.hero-date span {
  border: 0;
  border-top: 1px solid #d4b88a70;
  border-bottom: 1px solid #d4b88a70;
  padding: 8px 20px;
  font-size: 26px;
  letter-spacing: 3px;
}
.hero h2 i {
  font-size: 0.5em;
  margin: 0 0.1em;
}
.couple-grid {
  gap: 18px;
}
.portrait {
  width: 78%;
  max-width: 290px;
  height: auto;
  aspect-ratio: 3/4;
  border-radius: 999px 999px 6px 6px;
}
.ampersand {
  font-size: 54px;
  line-height: 1;
}
.person > p:not(.eyebrow) {
  line-height: 1.7;
}
.save-date h2 {
  font-size: 38px;
  margin: 14px 0 6px;
}
.countdown {
  gap: 8px;
  margin: 28px 0 18px;
}
.countdown div {
  flex: 1;
  max-width: 80px;
  min-width: 0;
  padding: 14px 4px 10px;
}
.countdown b {
  font-size: 34px;
  line-height: 1.1;
}
.event-card {
  padding: 34px 22px;
}
.event-card h3 {
  font-size: 42px;
  margin: 10px 0 0;
}
.event-card .eyebrow {
  letter-spacing: 3px;
}
.event-card p {
  line-height: 1.65;
}
.event-card h4 {
  margin: 22px 0 8px;
}
.event-card .btn {
  margin-top: 22px;
}
.event-grid {
  gap: 18px;
}
.dress-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 0 6px;
}
.dress-note strong {
  color: var(--gold);
  font-weight: 500;
}
.story {
  padding-top: 0;
}
.story-photo {
  height: auto;
  aspect-ratio: 4/5;
  margin: 0 -26px 36px;
}
.story-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, #32191fe0);
}
.story-photo > span {
  z-index: 1;
  font-size: 30px;
  left: 26px;
  right: 26px;
  bottom: 26px;
}
.timeline p {
  line-height: 1.7;
}
.gallery-item.tall img {
  object-position: 50% 30%;
}
.gallery-item:not(.tall):not(.wide) img {
  object-position: 50% 25%;
}
.gift-section > div > p:not(.eyebrow) {
  line-height: 1.7;
  max-width: 34ch;
  margin-inline: auto;
}
.bank-number {
  font-size: 30px;
  letter-spacing: 2px;
}
.rsvp-card {
  padding: 24px 20px;
}
.rsvp-card h3 {
  font-size: 35px;
}
.wishes-heading h3 {
  font-size: 30px;
}
.closing {
  min-height: 0;
  padding: 96px 28px 150px;
}
.closing > div {
  max-width: 300px;
}
.closing-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.closing h3 {
  font-size: 54px;
  margin: 30px 0 12px;
}
.nav {
  bottom: max(14px, env(safe-area-inset-bottom));
  padding: 10px 16px;
}
.nav a {
  padding: 6px 4px;
  min-height: 32px;
}
.music-button {
  bottom: 84px;
  right: 14px;
  width: 42px;
  height: 42px;
  font-size: 20px;
}
.locked .music-button {
  bottom: 20px;
}
#toast {
  bottom: 150px;
}
@media (max-width: 359px) {
  .nav nav {
    font-size: 11px;
  }
  .nav .nav-rsvp {
    padding-left: 10px;
  }
  .cover h1 {
    font-size: 54px;
  }
}
@media (min-width: 480px) {
  .story-photo {
    margin: 0 -38px 36px;
  }
  .gallery-grid {
    grid-template-rows: 500px 290px 260px;
  }
}
@media (min-width: 1500px) {
  .story-photo {
    margin: 0 -45px 36px;
  }
}
.hero-image img {
  object-position: 60% 25%;
}
.cover-photo img {
  object-position: 60% 30%;
}
.guest {
  margin-top: 34px;
}
.date-line {
  margin-bottom: 4px;
}
.story-photo > span {
  font-size: 27px;
}
.gift-section > div:first-child > p:not(.eyebrow) {
  max-width: 34ch;
  margin-inline: auto;
}
.gift-section > .bank-card > p.bank-number {
  font-size: 32px;
  max-width: none;
  margin: 26px 0 8px;
  color: var(--cream);
}
.gift-section > .bank-card > p:not(.bank-number) {
  max-width: none;
  margin-inline: 0;
  color: var(--cream);
}
/* ---- foto prewedding (busana adat merah) ---- */
.cover-photo img {
  filter: brightness(0.42) saturate(0.8);
  object-position: 50% 22%;
}
.hero-image img {
  filter: saturate(0.85);
  object-position: 50% 18%;
}
.portrait img {
  filter: saturate(0.9);
  object-position: 50% 20%;
}
.story-photo img {
  filter: saturate(0.8) brightness(0.85);
}
.gallery-item img {
  filter: saturate(0.85);
}
.gallery-item.tall img {
  object-position: 50% 20%;
}
.gallery-item:not(.tall):not(.wide) img {
  object-position: 50% 15%;
}
.gallery-item.wide img {
  object-position: 50% 35%;
}
.closing > img {
  filter: saturate(0.5) brightness(0.35);
  object-position: 50% 40%;
}
.desktop-scene > img {
  filter: saturate(0.5) brightness(0.4);
  object-position: 50% 40%;
}
.hero-image:after {
  background: linear-gradient(
    #32191f10,
    #32191f00 25%,
    #32191fb0 55%,
    #32191f 88%
  );
}

/* Copyright NeiraCode */
.closing .credit {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 92px;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  letter-spacing: 1px;
  color: #c9b6ad;
  opacity: 0.85;
}
