:root {
  --blue: #073f6f;
  --blue-deep: #052e52;
  --blue-soft: #1d5b86;
  --ivory: #f7f2e7;
  --paper: #fffdf8;
  --gold: #c5a66a;
  --gold-light: #ddc895;
  --ink: #123f61;
  --muted: #687681;
  --line: rgba(7, 63, 111, 0.18);
  --gold-line: rgba(197, 166, 106, 0.42);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 70px rgba(5, 46, 82, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper);
  background: var(--blue);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -90px;
  left: 12px;
  padding: 10px 15px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 122px 28px 104px;
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 20%, rgba(54, 112, 154, 0.46), transparent 30%),
    radial-gradient(circle at 88% 86%, rgba(197, 166, 106, 0.13), transparent 29%),
    linear-gradient(142deg, var(--blue-deep), var(--blue) 58%, #064777);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  inset: 16px;
  border: 1px solid rgba(221, 200, 149, 0.42);
}

.hero::after {
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__texture {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, rgba(255, 255, 255, 0.08) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(255, 255, 255, 0.06) 49%, rgba(255, 255, 255, 0.06) 51%, transparent 52%);
  background-size: 68px 116px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.botanical {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: rgba(221, 200, 149, 0.22);
}

.botanical--top {
  top: -12px;
  right: -32px;
  width: min(31vw, 420px);
  transform: rotate(8deg);
}

.botanical svg {
  width: 100%;
}

.botanical path {
  stroke-width: 1.2;
}

.nav {
  position: absolute;
  z-index: 5;
  top: 27px;
  left: 50%;
  width: min(1240px, calc(100% - 86px));
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.nav__mark {
  display: flex;
  gap: 7px;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.45rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav__mark i {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.nav__links {
  display: flex;
  gap: 30px;
}

.nav__links a {
  position: relative;
  padding: 10px 1px;
  font-size: 0.67rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.nav__links a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 3px;
  left: 50%;
  height: 1px;
  background: var(--gold-light);
  transition: inset 0.2s ease;
}

.nav__links a:hover::after {
  right: 0;
  left: 0;
}

.hero__layout {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.84fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  margin: 0 auto;
}

.hero__content {
  max-width: 690px;
  animation: hero-enter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__hashtag {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 14px;
  color: var(--gold-light);
  border: 1px solid rgba(221, 200, 149, 0.45);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.18em;
}

.bismillah {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0.02em;
}

.eyebrow,
.section-kicker,
.walima-card__family,
.walima-card__union,
.qr-card__label {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.eyebrow {
  color: rgba(255, 253, 248, 0.74);
}

.hero__names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  margin: 17px 0 8px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero__names em {
  color: var(--gold-light);
  font-size: 0.4em;
  font-weight: 400;
}

.hero__invitation {
  max-width: 540px;
  margin: 23px 0 0;
  color: rgba(255, 253, 248, 0.76);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
}

.hero__invitation span {
  display: block;
  white-space: nowrap;
}

.hero__invitation span + span {
  margin-top: 1px;
  color: var(--gold-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button svg,
.walima-stack__directions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: var(--blue-deep);
  background: var(--gold-light);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.17);
}

.button--gold:hover {
  background: #edd8a5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.23);
}

.button--ghost {
  color: var(--paper);
  border-color: rgba(255, 253, 248, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
}

.walima-stack {
  width: min(100%, 500px);
  display: grid;
  gap: 17px;
  justify-self: end;
}

.hero-countdown {
  padding: 18px 24px 16px;
  text-align: center;
  border: 1px solid rgba(221, 200, 149, 0.34);
  background: rgba(3, 37, 66, 0.36);
  box-shadow: 0 16px 36px rgba(1, 26, 48, 0.18);
  backdrop-filter: blur(8px);
}

.hero-countdown > p {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 0.59rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-countdown > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.3vw, 24px);
}

.hero-countdown span {
  display: grid;
  min-width: 47px;
}

.hero-countdown strong {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
}

.hero-countdown small {
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.48rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero-countdown i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-light);
}

.walima-card {
  position: relative;
  width: 100%;
  padding: 37px 38px 33px;
  color: var(--blue);
  text-align: center;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(1, 26, 48, 0.36);
  animation: card-enter 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.walima-card::before,
.walima-card::after,
.walima-card__frame::before,
.walima-card__frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
}

.walima-card::before {
  top: 13px;
  left: 13px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.walima-card::after {
  top: 13px;
  right: 13px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.walima-card__frame::before {
  bottom: 13px;
  left: 13px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.walima-card__frame::after {
  right: 13px;
  bottom: 13px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.walima-card__hosts {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.walima-card__family {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.65;
}

.walima-card__names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 9px 0 1px;
  font-family: var(--script);
  font-size: clamp(3.2rem, 6vw, 4.45rem);
  line-height: 1;
}

.walima-card__names em {
  font-family: var(--serif);
  font-size: 0.45em;
}

.walima-card__union {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 0.83rem;
  letter-spacing: 0.12em;
}

.walima-card__union i {
  font-weight: 400;
  text-transform: lowercase;
}

.walima-card__date {
  margin: 21px 0 18px;
}

.walima-card__month {
  display: block;
  margin-bottom: -2px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
}

.walima-card__date > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.walima-card__date > div span {
  padding: 6px 0;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.walima-card__date strong {
  font-family: var(--serif);
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 0.8;
}

.walima-card__venue {
  display: grid;
  gap: 3px;
}

.walima-card__venue strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.walima-card__venue span {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.walima-card__schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 21px 0 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.walima-card__schedule div {
  display: grid;
  gap: 2px;
  padding: 0 7px;
  border-right: 1px solid var(--line);
}

.walima-card__schedule div:last-child {
  border-right: 0;
}

.walima-card__schedule strong {
  font-size: 0.69rem;
}

.walima-card__schedule span {
  color: var(--muted);
  font-size: 0.49rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.walima-card__note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.walima-stack__directions {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--gold-light);
  border: 1px solid rgba(221, 200, 149, 0.34);
  background: rgba(3, 37, 66, 0.36);
  font-size: 0.58rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.walima-stack__directions:hover {
  color: var(--paper);
  border-color: var(--gold-light);
  background: rgba(3, 37, 66, 0.62);
}

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.55rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: -100% 0 0;
  background: var(--gold-light);
  animation: scroll-line 2s ease-in-out infinite;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 144px) 24px;
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section__inner--narrow {
  width: min(780px, 100%);
  text-align: center;
}

.section-kicker {
  color: var(--gold);
}

.section-kicker--light {
  color: var(--gold-light);
}

.heart-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 25px;
}

.heart-line span {
  width: 58px;
  height: 1px;
  background: var(--gold-line);
}

.heart-line i {
  position: relative;
  width: 16px;
  height: 14px;
  transform: rotate(-45deg);
  transform-origin: center;
}

.heart-line i::before,
.heart-line i::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 14px;
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.heart-line i::before {
  left: 0;
  transform: rotate(45deg) translate(2px, 1px);
}

.heart-line i::after {
  right: 0;
  transform: rotate(-45deg) translate(-2px, 1px);
}

.story {
  background:
    radial-gradient(circle at 9% 4%, rgba(197, 166, 106, 0.1), transparent 25%),
    var(--ivory);
}

.story__heading {
  margin-bottom: 46px;
  text-align: center;
}

.story__heading h1,
.section-heading h2,
.venue h2,
.wishes h2,
.blessing blockquote {
  margin: 15px 0 0;
  color: var(--blue);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.story__heading h1 {
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  font-style: italic;
}

.story__photo {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--gold-line);
  background: var(--paper);
  box-shadow: 0 26px 62px rgba(5, 46, 82, 0.13);
}

.story__photo::before,
.story__photo::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.story__photo::before {
  top: -7px;
  left: -7px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.story__photo::after {
  right: -7px;
  bottom: -7px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.story__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 716;
}

.story__panel {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 64px));
  margin: -42px auto 0;
  padding: clamp(34px, 5vw, 58px) clamp(30px, 7vw, 76px) 37px;
  text-align: center;
  border: 1px solid var(--gold-line);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: var(--shadow);
}

.story__panel > p:first-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
  line-height: 1.72;
}

.signature {
  margin: 28px 0 0;
  color: var(--blue);
  font-family: var(--script);
  font-size: clamp(2.55rem, 5vw, 3.55rem);
  line-height: 1;
}

.signature span {
  color: var(--gold);
  padding: 0 5px;
  font-family: var(--serif);
  font-size: 0.7em;
}

.celebrations {
  isolation: isolate;
  background: var(--blue-deep);
}

.celebrations__pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0.12) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 52%);
  background-size: 54px 92px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2,
.venue h2,
.wishes h2 {
  font-size: clamp(3.2rem, 7vw, 5.4rem);
}

.celebrations .section-heading h2 {
  color: var(--paper);
}

.section-heading > p:last-child {
  margin: 19px 0 0;
  color: var(--muted);
}

.celebrations .section-heading > p:last-child {
  color: rgba(255, 253, 248, 0.65);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.event-card {
  padding: 13px;
  color: var(--blue);
  background: var(--blue);
  box-shadow: 0 24px 56px rgba(1, 21, 39, 0.3);
}

.event-card__inner {
  position: relative;
  min-height: 1010px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 41px 25px 32px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(7, 63, 111, 0.15);
  background: var(--paper);
}

.event-card__inner::before,
.event-card__inner::after {
  content: "";
  position: absolute;
  top: 54px;
  width: 75px;
  height: 1px;
  background: var(--blue);
  opacity: 0.8;
}

.event-card__inner::before {
  left: -13px;
  transform: rotate(27deg);
}

.event-card__inner::after {
  right: -13px;
  transform: rotate(-27deg);
}

.event-card__script {
  min-height: 126px;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(3.25rem, 4vw, 4.15rem);
  font-weight: 400;
  line-height: 0.88;
}

.event-card__script--barat {
  min-height: 170px;
  font-size: clamp(4.2rem, 6vw, 5.7rem);
}

.event-card__family {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.event-card__tagline {
  min-height: 40px;
  margin: 5px 0 15px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.18;
  text-transform: uppercase;
}

.event-card__date {
  width: 100%;
  margin: 6px 0 19px;
}

.event-card__month,
.event-card__year {
  display: block;
  font-family: var(--serif);
  font-size: 1.23rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.event-card__date > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 5px 0 7px;
}

.event-card__date > div span {
  padding: 6px 0;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.event-card__date strong {
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 0.75;
}

.event-card__venue {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.event-card__venue strong {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}

.event-card__venue span {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.event-card__divider {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 13px;
  align-items: center;
  margin: 3px 0 12px;
}

.event-card__divider::before,
.event-card__divider::after {
  content: "";
  height: 1px;
  background: var(--blue);
}

.event-card__divider span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.event-card__list {
  width: 100%;
  display: grid;
  gap: 3px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.event-card__list li {
  width: 100%;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.event-card__list li > span {
  color: var(--blue);
  text-align: center;
}

.event-card--performative .event-card__list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 210px) 20px;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.event-card--performative .event-card__list li::after {
  width: 20px;
  content: "";
}

.event-card__list-icon {
  display: grid;
  width: 20px;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  line-height: 1;
}

.event-card__list-label {
  width: 100%;
  text-align: center;
}

.event-card__list--centered {
  margin: 9px 0 12px;
  text-align: center;
}

.event-card__list--centered li {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 3px;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.event-card__feature {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0;
  margin: 5px 0;
  text-align: center;
}

.event-card__divider span,
.event-card__feature b {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.event-card--performative .event-card__divider span,
.event-card--performative .event-card__feature b {
  font-size: 0.84rem;
  line-height: 1.2;
  text-align: center;
}

.event-card__feature small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.event-card__feature span {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.2;
}

.event-card__feature--script {
  margin-top: 11px;
}

.event-card__feature--script b {
  font-family: var(--serif);
  font-size: 0.82rem;
}

.event-card__feature--script span {
  font-family: var(--script);
  font-size: 2.25rem;
  line-height: 1;
}

.event-card__dinner {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin: 12px 0 9px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.event-card__icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-card__icon--dinner {
  width: 26px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.event-card__feature--concert {
  gap: 1px;
}

.event-card__feature--concert .event-card__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}

.event-card__icon--notes {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.event-card__icon--procession {
  width: 40px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.event-card__qr {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: auto;
  color: var(--blue);
  text-decoration: none;
}

.event-card__qr img {
  width: 126px;
  height: 126px;
  padding: 5px;
  border: 1px solid rgba(7, 63, 111, 0.22);
  background: white;
}

.event-card__qr span {
  font-size: 0.49rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.event-card__qr:hover span {
  color: var(--gold);
}

.event-card__lineup-script {
  margin: 8px 0 5px;
  font-family: var(--script);
  font-size: 1.22rem;
  line-height: 1;
}

.event-card__procession {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 15px 0 35px;
  text-align: center;
}

.event-card__procession b {
  font-family: var(--serif);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-card__procession strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.event-card__time--barat {
  font-size: 1.12rem !important;
  letter-spacing: 0.02em;
}

.event-card__venue--barat {
  margin-bottom: 28px;
}

.event-card__venue--barat strong {
  font-size: 1.35rem;
}

.event-card__qr--barat {
  margin-top: auto;
}

.event-card__heart {
  position: relative;
  width: 28px;
  height: 23px;
  margin-top: 25px;
  border: 1px solid var(--blue);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.event-card__heart::before,
.event-card__heart::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.event-card__heart::before {
  top: 10px;
  right: 21px;
  width: 155px;
  height: 1px;
}

.event-card__heart::after {
  left: 10px;
  bottom: 21px;
  width: 155px;
  height: 1px;
}

.venue {
  background:
    radial-gradient(circle at 95% 20%, rgba(197, 166, 106, 0.12), transparent 26%),
    var(--paper);
}

.venue__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: clamp(52px, 9vw, 130px);
  align-items: center;
}

.venue h2 {
  max-width: 650px;
  margin-bottom: 20px;
}

.venue__address {
  max-width: 610px;
  margin: 0 0 17px;
  color: var(--blue-soft);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.38;
}

.venue__note {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--muted);
}

.button--blue {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(7, 63, 111, 0.18);
}

.button--blue:hover {
  background: var(--blue-deep);
  box-shadow: 0 16px 34px rgba(7, 63, 111, 0.24);
}

.qr-card {
  position: relative;
  padding: 38px 30px 33px;
  text-align: center;
  border: 1px solid var(--gold-line);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.qr-card__corners::before,
.qr-card__corners::after,
.qr-card::before,
.qr-card::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
}

.qr-card__corners::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.qr-card__corners::after {
  top: 12px;
  right: 12px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.qr-card::before {
  bottom: 12px;
  left: 12px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.qr-card::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.qr-card__label {
  margin-bottom: 18px;
  color: var(--gold);
}

.qr-card__image-wrap {
  width: min(280px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  padding: 13px;
  border: 1px solid var(--gold-line);
  background: #fffef9;
}

.qr-card img {
  width: 100%;
  height: auto;
}

.qr-card > p:not(.qr-card__label) {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.qr-card__url {
  display: block;
  margin-top: 7px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.wishes {
  isolation: isolate;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 15%, rgba(72, 130, 170, 0.45), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(197, 166, 106, 0.11), transparent 26%),
    var(--blue-deep);
}

.wishes__line {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 160px;
  transform: translateY(-50%);
}

.wishes__line::before,
.wishes__line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 46%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(221, 200, 149, 0.38));
}

.wishes__line::after {
  right: 0;
  transform: scaleX(-1);
}

.wishes__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.78fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: center;
}

.wishes__seal {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 25px;
  color: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.wishes__seal i {
  color: var(--gold-light);
  font-size: 0.8em;
}

.wishes h2 {
  margin-bottom: 24px;
  color: var(--paper);
}

.wishes__intro > p:not(.section-kicker) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
}

.wishes__prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  margin-top: 23px;
  color: var(--gold-light);
  font-size: 0.59rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.wishes__prompts i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-light);
}

.wishes__intro blockquote {
  max-width: 500px;
  margin: 29px 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
}

.wish-form {
  position: relative;
  padding: clamp(36px, 5vw, 52px);
  color: var(--blue);
  border: 1px solid var(--gold-line);
  border-radius: 32px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(7, 63, 111, 0.04) 31px 32px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.wish-form::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(197, 166, 106, 0.24);
  border-radius: 24px;
}

.wish-form > * {
  position: relative;
}

.wish-form__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 1px 0 20px;
}

.wish-form__ornament span {
  width: 42px;
  height: 1px;
  background: var(--gold-line);
}

.wish-form__ornament i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.wish-form__header {
  margin-bottom: 27px;
  text-align: center;
}

.wish-form__header p {
  margin: 0;
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.wish-form__header h3 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  font-weight: 500;
  line-height: 1.05;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.field__label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}

.field label {
  font-size: 0.61rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.field__label-row > span {
  color: var(--muted);
  font-size: 0.62rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--blue-deep);
  border: 1px solid rgba(7, 63, 111, 0.17);
  border-radius: 8px;
  outline: none;
  background: rgba(247, 242, 231, 0.62);
  font: inherit;
  line-height: 1.55;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #88939a;
  font-family: var(--serif);
  font-style: italic;
}

.field textarea {
  min-height: 155px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(197, 166, 106, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a73b3b;
}

.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wish-form__submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.wish-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.wish-form__privacy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  text-align: center;
}

.wish-form__privacy span {
  margin-right: 4px;
  color: var(--gold);
}

.wish-form__status {
  min-height: 1.5em;
  margin: 11px 0 0;
  font-size: 0.77rem;
  text-align: center;
}

.wish-form__status:empty {
  min-height: 0;
  margin: 0;
}

.wish-form__status:not(:empty) {
  padding: 9px 11px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.wish-form__status.is-success {
  color: #247046;
  background: rgba(36, 112, 70, 0.06);
}

.wish-form__status.is-error {
  color: #a23a3a;
  background: rgba(162, 58, 58, 0.05);
}

.blessing {
  isolation: isolate;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 15%, rgba(72, 130, 170, 0.34), transparent 28%),
    var(--blue);
}

.blessing__arch {
  position: absolute;
  z-index: -1;
  top: 24px;
  left: 50%;
  width: min(760px, calc(100% - 42px));
  height: calc(100% - 48px);
  border: 1px solid rgba(221, 200, 149, 0.27);
  border-radius: 380px 380px 12px 12px;
  transform: translateX(-50%);
}

.blessing__mark {
  width: 64px;
  margin: 0 auto 21px;
  color: var(--gold-light);
}

.blessing__mark svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.blessing blockquote {
  margin-right: auto;
  margin-left: auto;
  color: var(--paper);
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  font-style: italic;
}

.blessing__reference {
  margin: 26px 0 34px;
  color: var(--gold-light);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.heart-line--light span {
  background: rgba(221, 200, 149, 0.27);
}

.blessing__closing {
  margin: 0;
  color: rgba(255, 253, 248, 0.67);
}

.signature--light {
  color: var(--paper);
}

.footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px max(24px, calc((100% - 1180px) / 2));
  color: var(--muted);
  background: #eee8dc;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer a {
  text-decoration: none;
}

.footer__mark {
  justify-self: start;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0.03em;
}

.footer__mark span {
  color: var(--gold);
  font-style: italic;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer > a:last-child {
  justify-self: end;
  color: var(--blue);
  text-transform: none;
  letter-spacing: 0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.events-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.events-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(26px) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

@media (max-width: 1120px) {
  .hero__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.8fr);
    gap: 40px;
  }

  .hero__names {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: clamp(4.3rem, 9vw, 6.2rem);
  }

  .hero__names em {
    margin: -5px 0 -2px 42%;
  }

  .events-grid {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    gap: 28px;
    margin: 0 auto;
  }

  .event-card__inner {
    min-height: 980px;
    padding-right: 56px;
    padding-left: 56px;
  }

  .events-grid .reveal:nth-child(n) {
    transition-delay: 0s;
  }
}

@media (max-width: 850px) {
  .hero {
    padding-top: 116px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
  }

  .hero__content {
    max-width: 600px;
    text-align: center;
  }

  .hero__names {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .hero__names em {
    margin: 0;
  }

  .hero__invitation {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .walima-stack {
    justify-self: center;
  }

  .scroll-cue {
    display: none;
  }

  .venue__layout,
  .wishes__layout {
    grid-template-columns: 1fr;
    width: min(660px, 100%);
  }

  .venue__copy,
  .wishes__intro {
    text-align: center;
  }

  .venue__address,
  .venue__note,
  .wishes__intro > p:not(.section-kicker),
  .wishes__intro blockquote {
    margin-right: auto;
    margin-left: auto;
  }

  .wishes__seal,
  .wishes__prompts {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

}

@media (max-width: 650px) {
  .hero {
    padding: 108px 20px 77px;
  }

  .hero::before {
    inset: 10px;
  }

  .hero::after {
    inset: 17px;
  }

  .nav {
    top: 17px;
    width: calc(100% - 48px);
  }

  .nav__links {
    gap: 11px;
  }

  .nav__links a {
    font-size: 0.5rem;
    letter-spacing: 0.07em;
  }

  .botanical--top {
    width: 230px;
    opacity: 0.6;
  }

  .hero__hashtag {
    font-size: 0.62rem;
  }

  .hero__names {
    flex-direction: column;
    gap: 0;
    font-size: clamp(4.25rem, 19vw, 6rem);
  }

  .hero__names em {
    margin: -5px 0 -1px;
    font-size: 0.35em;
  }

  .hero__invitation {
    font-size: clamp(1rem, 4.7vw, 1.3rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: min(310px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-countdown {
    padding-right: 13px;
    padding-left: 13px;
  }

  .hero-countdown > div {
    gap: 7px;
  }

  .hero-countdown i {
    display: none;
  }

  .hero-countdown span {
    min-width: 58px;
  }

  .walima-card {
    padding: 34px 21px 31px;
  }

  .walima-card__names {
    gap: 8px;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .walima-card__date > div {
    gap: 8px;
  }

  .walima-card__date > div span {
    font-size: 0.76rem;
  }

  .walima-card__schedule strong {
    font-size: 0.6rem;
  }

  .walima-card__schedule span {
    font-size: 0.43rem;
  }

  .section {
    padding-right: 19px;
    padding-left: 19px;
  }

  .story__heading {
    margin-bottom: 32px;
  }

  .story__photo {
    padding: 5px;
  }

  .story__panel {
    width: calc(100% - 20px);
    margin-top: -15px;
    padding: 30px 23px 31px;
  }

  .events-grid {
    width: 100%;
  }

  .event-card {
    padding: 9px;
  }

  .event-card__inner {
    min-height: 930px;
    padding: 36px 22px 29px;
  }

  .event-card__script {
    font-size: 3.35rem;
  }

  .event-card__date > div {
    gap: 8px;
  }

  .event-card__date > div span {
    font-size: 0.78rem;
  }

  .event-card__heart::before,
  .event-card__heart::after {
    width: 125px;
  }

  .qr-card {
    padding: 34px 24px 30px;
  }

  .wish-form {
    padding: 47px 23px 33px;
  }

  .field__label-row {
    align-items: flex-start;
  }

  .blessing__arch {
    border-radius: 45vw 45vw 10px 10px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 42px;
    padding-bottom: 42px;
    text-align: center;
  }

  .footer__mark,
  .footer > a:last-child {
    justify-self: center;
  }
}

@media (max-width: 390px) {
  .nav__links a:first-child {
    display: none;
  }

  .walima-card__hosts {
    font-size: 1.72rem;
  }

  .walima-card__names {
    font-size: 2.65rem;
  }

  .event-card__inner {
    padding-right: 17px;
    padding-left: 17px;
  }

  .event-card__script {
    font-size: 3.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
