﻿/* ==========================================================================
   Green Sofia â€” struktur & tata letak mengikuti tema referensi Veloura.
   Palet: hijau sage (#5C6B57) + hijau charcoal (#232B24).
   ========================================================================== */

:root {
  --font-title: 'Ovo', Georgia, 'Times New Roman', serif;
  --font-body: 'Tenor Sans', 'Helvetica Neue', Arial, sans-serif;
  --color-1: #5C6B57;
  --color-2: #232B24;
  --color-1-soft: rgba(92, 107, 87, .12);
  --line-light: rgba(255, 255, 255, .5);
  --line-green: rgba(92, 107, 87, .25);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.gs-locked,
html.gs-locked body {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
  color: var(--color-2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.gs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.gs-ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------- cover -------------------------------- */
.gs-cover {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #141814;
  color: #fff;
  transition: opacity 1s ease, visibility 1s ease;
}

.gs-cover__slides { position: absolute; inset: 0; z-index: 0; }

.gs-cover__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2s ease, transform 7s ease;
}

.gs-cover__slides img.is-active {
  opacity: 1;
  transform: scale(1);
}

.gs-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .88), rgba(0, 0, 0, .12) 48%, rgba(0, 0, 0, .9));
}

.gs-cover__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}

.gs-cover__top { margin-top: 2rem; }

.gs-cover__kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.gs-cover__names {
  margin-top: .65rem;
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 400;
  line-height: .98;
}

.gs-cover__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: 100%;
}

.gs-cover__label { font-size: .75rem; }

.gs-cover__guestname {
  margin-top: .55rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 400;
}

.gs-cover__note {
  max-width: 20rem;
  font-size: .75rem;
  line-height: 1.5;
}

/* --------------------------------- buttons ------------------------------- */
.gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .55rem 1.5rem;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.gs-btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.gs-btn--cover { letter-spacing: .2em; padding-inline: 1.6rem; }

.gs-btn--plain {
  text-transform: none;
  letter-spacing: .04em;
  font-size: .8125rem;
  padding-inline: 1rem;
}

.gs-btn--full { width: 100%; }

.gs-btn--solid {
  width: 100%;
  height: 3.5rem;
  border-color: var(--color-1);
  background: var(--color-1);
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: none;
  font-size: .875rem;
}

.gs-btn--solid:hover { background: #4d5a48; border-color: #4d5a48; }

.gs-btn--outline-green {
  border-color: rgba(92, 107, 87, .35);
  color: var(--color-1);
}

.gs-btn--outline-green:hover { background: var(--color-1-soft); border-color: var(--color-1); color: var(--color-1); }

.gs-ico-btn {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  opacity: .8;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.gs-ico-btn:hover { opacity: 1; }
.gs-ico-btn:active { transform: scale(.94); }

/* --------------------------------- content ------------------------------- */
.gs-content {
  position: relative;
  z-index: 5;
  width: 100%;
  background: #fff;
  opacity: 1;
  transition: opacity 1s ease;
}

html.gs-locked .gs-content { opacity: 0; pointer-events: none; }
html.gs-locked .gs-cover { opacity: 1; visibility: visible; pointer-events: auto; }
html:not(.gs-locked) .gs-cover { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------------------------------- hero --------------------------------- */
.gs-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #141814;
  color: #fff;
}

.gs-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.gs-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: gs-zoom 18s ease-out forwards;
}

.gs-hero__shade {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
}

.gs-hero__foot {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  padding: 1.5rem;
}

.gs-hero__save { font-size: 1rem; }

.gs-hero__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gs-countdown {
  position: relative;
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
  padding: .5rem;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(4px) saturate(1.5);
  backdrop-filter: blur(4px) saturate(1.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

.gs-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 50%, rgba(0, 0, 0, .2));
  pointer-events: none;
}

.gs-countdown__cell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 4rem;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.gs-countdown__cell:first-child { border-left: 0; }

.gs-countdown__num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.gs-countdown__label {
  margin-top: .25rem;
  font-size: .625rem;
  line-height: 1.55;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.gs-hero__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-bottom: 5rem;
  text-align: center;
}

.gs-hero__kicker { font-weight: 700; font-size: 1rem; }

.gs-hero__names {
  font-family: var(--font-title);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1;
}

.gs-hero__date {
  font-size: .75rem;
  letter-spacing: .1em;
  color: #fff;
}

/* --------------------------------- opening ------------------------------- */
.gs-open {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 1.5rem;
  overflow: hidden;
  background: #fff;
  color: var(--color-1);
  text-align: center;
}

.gs-orn {
  position: absolute;
  color: var(--color-1);
  opacity: .18;
  filter: blur(2px);
  pointer-events: none;
  animation: gs-spin 45s linear infinite;
}

.gs-orn--tr { top: -6rem; right: -6rem; }
.gs-orn--bl { bottom: -5rem; left: -5rem; }
.gs-orn--tl { top: -6.5rem; left: -6.5rem; opacity: .1; }
.gs-orn--tr2 { top: 0; right: -4rem; transform: translate(25%, -50%); opacity: .1; }

.gs-open__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.gs-monogram {
  margin-bottom: 1.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-1);
  font-family: var(--font-title);
  font-size: 2.25rem;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.gs-open__names {
  font-family: var(--font-title);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.15;
}

.gs-divider {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 10rem;
  margin: 0 auto;
  opacity: .4;
}

.gs-divider::before,
.gs-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.gs-divider .gs-ico { width: 1.125rem; height: 1.125rem; }

.gs-divider--green { color: var(--color-1); }
.gs-divider--light { color: #fff; }

.gs-quote {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 42rem;
  margin: 3rem auto 1rem;
  font-family: 'Amiri', var(--font-body);
  font-size: 1.15rem;
  line-height: 2.1;
  color: var(--color-1);
  overflow-wrap: break-word;
}

.gs-open .gs-divider + .gs-quote { margin-top: 3rem; }

.gs-open__invite {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 36rem;
  margin-top: 3rem;
  font-size: .9375rem;
  line-height: 1.7;
  color: #4b5563;
}

.gs-open__invite span { color: var(--color-1); }

/* ------------------------- couple + events (photo) ----------------------- */
.gs-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111511;
  color: #fff;
}

.gs-photo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  clip-path: inset(0);
}

.gs-photo__img { position: absolute; inset: 0; }

.gs-photo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-photo__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.gs-photo__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 1rem;
}

.gs-couple { width: 100%; }

.gs-h2 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
}

.gs-h2--light { color: #fff; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.gs-h2--green { color: var(--color-1); text-align: center; }

.gs-couple .gs-h2 { margin-bottom: 3rem; }

.gs-couple__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 15rem;
  margin: 0 auto;
}

.gs-person {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 1.5rem 1.5rem 0 0;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.gs-person__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.gs-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-person__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, .1);
  text-align: center;
}

.gs-person__body h3 {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.15;
}

.gs-person__body p {
  margin-top: .5rem;
  font-size: .75rem;
  line-height: 1.55;
  opacity: .9;
}

.gs-person__ig {
  margin-top: .5rem;
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
  text-decoration: none;
}

.gs-person__ig:hover { opacity: 1; }

.gs-couple__amp {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .15rem 0;
  font-family: var(--font-title);
  font-size: 2.25rem;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.gs-events {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.gs-card {
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 22px 34px -18px rgba(0, 0, 0, .55);
}

.gs-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .3), transparent 48%, rgba(255, 255, 255, .08));
  pointer-events: none;
}

.gs-card > * { position: relative; z-index: 1; }

.gs-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: .5rem 1rem;
  border-radius: 0 0 1rem 0;
  background: #fff;
  color: #111;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.gs-event { margin: 0; }

.gs-event__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
}

.gs-card:not(.gs-event--first) .gs-event__top { margin-top: 0; }

.gs-event__title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}

.gs-event__acts { display: flex; align-items: center; gap: 1rem; flex: none; }
.gs-event__acts .gs-ico { width: 1.5rem; height: 1.5rem; }

.gs-event__meta {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1rem;
}

.gs-event__venue { font-weight: 700; font-size: 1rem; }

.gs-event__addr {
  max-width: 28rem;
  font-size: .875rem;
  line-height: 1.65;
  opacity: .9;
}

.gs-event__facts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .4rem;
}

.gs-fact {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  opacity: .9;
}

.gs-fact .gs-ico { width: 1.125rem; height: 1.125rem; }

.gs-event__note {
  margin-top: .85rem;
  font-size: .75rem;
  font-style: italic;
}

.gs-event__note b { font-style: normal; font-weight: 400; }

.gs-event .gs-btn { margin-top: 1rem; }

.gs-rule {
  height: 1px;
  margin: 1.25rem 0;
  background: rgba(255, 255, 255, .3);
}

.gs-dress { display: flex; flex-direction: column; gap: 1.25rem; }

.gs-dress__title { font-family: var(--font-title); font-size: 1.5rem; }

.gs-dress__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.gs-dress__group { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.gs-dress__group .gs-ico { width: 1.5rem; height: 1.5rem; opacity: .8; }

.gs-swatch {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: .25rem;
  background: var(--c, #fff);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.gs-event__cal {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.15rem;
  font-size: .75rem;
  letter-spacing: .04em;
  opacity: .75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gs-event__cal:hover { opacity: 1; }

.gs-live .gs-btn { margin-top: 1.25rem; }

/* --------------------------------- story --------------------------------- */
.gs-story {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(to top, rgba(92, 107, 87, .12), #fff 65%);
}

.gs-story__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gs-sec-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.gs-sub {
  width: 100%;
  max-width: 36rem;
  font-size: .875rem;
  line-height: 1.7;
  text-align: center;
}

.gs-sub--light { color: rgba(255, 255, 255, .85); }
.gs-sub--green { color: var(--color-1); opacity: .85; }

.gs-story__list {
  display: flex;
  flex-direction: column;
  gap: 3.125rem;
  counter-reset: gs-story;
}

.gs-story__item {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  counter-increment: gs-story;
}

.gs-story__item::before {
  content: counter(gs-story, decimal-leading-zero);
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .22em;
  color: var(--color-1);
  opacity: .55;
}

.gs-story__item h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-1);
  text-transform: uppercase;
}

.gs-story__item p {
  margin-top: .6rem;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--color-1);
  opacity: .8;
  white-space: pre-line;
}

/* Gaya "Baloon of Love": satu rel lengkung putus-putus + penanda hati,
   teks rata kiri (acuan: love story organic) */
.gs-blv {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
}

.gs-blv__item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: .9rem;
  padding-bottom: 2.125rem;
}

.gs-blv__item:last-child { padding-bottom: 0; }

.gs-blv__rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.gs-blv__heart {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--color-1);
}

.gs-blv__heart svg {
  display: block;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .16));
}

.gs-blv__arc {
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: calc(100% + 23px);
  color: var(--color-1);
  opacity: .55;
  overflow: visible;
  pointer-events: none;
}

.gs-blv__content { min-width: 0; padding-top: 1px; }

.gs-blv__content::after { content: ""; display: block; clear: both; }

.gs-blv__content h3 {
  margin: 0 0 .45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--color-1);
}

.gs-blv__content p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--color-1);
  opacity: .78;
  white-space: pre-line;
}

.gs-blv__photo {
  float: right;
  width: 7rem;
  height: 7rem;
  margin: 0 0 .5rem .75rem;
  border-radius: .875rem;
  overflow: hidden;
  background: rgba(92, 107, 87, .08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

.gs-blv__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 420px) {
  .gs-blv__item { grid-template-columns: 30px minmax(0, 1fr); column-gap: .75rem; }
  .gs-blv__photo { width: 6rem; height: 6rem; margin: 0 0 .4rem .625rem; }
}

/* -------------------------------- gallery -------------------------------- */
.gs-gallery {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(92, 107, 87, .12), #fff 65%);
}

.gs-gallery__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gs-gallery__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.gs-gallery__item {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - .75rem) / 2);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: .875rem;
  background: rgba(92, 107, 87, .08);
  cursor: zoom-in;
}

.gs-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gs-gallery__item:hover img { transform: scale(1.05); }

/* Masonry Move: kolase standar 3 foto (portrait kiri + 2 landscape kanan) */
.gs-gallery__grid.gs-gallery__stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.gs-gallery__stack .gs-gallery__item {
  flex: 0 0 auto;
}

.gs-gallery__stack .gs-gallery__item:nth-child(1) {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.gs-gallery__stack .gs-gallery__item:nth-child(2),
.gs-gallery__stack .gs-gallery__item:nth-child(3) {
  aspect-ratio: 4 / 3;
}

/* Jika foto kurang dari 3, jangan paksa kolase 2 baris. */
.gs-gallery__stack:not(:has(> .gs-gallery__item:nth-child(3))) .gs-gallery__item:nth-child(1) {
  grid-row: auto;
  aspect-ratio: 4 / 3;
  height: auto;
}

/* Masonry Move: baris 3 foto bergeser otomatis + panah kiri/kanan */
.gs-gallery__move {
  position: relative;
  overflow: hidden;
  padding: .25rem 0 1.75rem;
}

.gs-gallery__track {
  display: flex;
  gap: .5rem;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.gs-gallery__item--move {
  flex: 0 0 calc((100% - 1rem) / 3);
  aspect-ratio: 3 / 4;
}

.gs-gallery__item--move:nth-child(even) { transform: translateY(12px); }

.gs-gallery__nav {
  position: absolute;
  top: calc(50% - .5rem);
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line-green);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--color-1);
  cursor: pointer;
  box-shadow: 0 .25rem .875rem rgba(0, 0, 0, .18);
  transition: transform .2s ease, background .2s ease;
}

.gs-gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.gs-gallery__nav--prev { left: .25rem; }
.gs-gallery__nav--next { right: .25rem; }
.gs-gallery__nav .gs-ico { width: 1rem; height: 1rem; }

@media (max-width: 380px) {
  .gs-gallery__nav { width: 2rem; height: 2rem; }
}

/* Masonry Move: foto landscape penutup */
.gs-gallery__wide { margin-top: .25rem; }

.gs-gallery__wide-item {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: .875rem;
  background: rgba(92, 107, 87, .08);
  cursor: zoom-in;
}

.gs-gallery__wide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gs-gallery__wide-item:hover img { transform: scale(1.05); }

.gs-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.gs-lightbox.is-open { opacity: 1; visibility: visible; }

.gs-lightbox img {
  max-width: min(90vw, 62rem);
  max-height: 82vh;
  object-fit: contain;
  border-radius: .5rem;
}

.gs-lightbox__x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gs-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -1.375rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.gs-lightbox__nav--prev { left: .75rem; }
.gs-lightbox__nav--next { right: .75rem; }

.gs-lightbox__nav .gs-ico { width: 1.25rem; height: 1.25rem; }

.gs-lightbox__x:hover,
.gs-lightbox__nav:hover { background: rgba(255, 255, 255, .16); }

/* ---------------------------------- gift --------------------------------- */
.gs-gift {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  overflow: hidden;
  background: var(--color-2);
  color: #fff;
}

.gs-gift__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gs-gift__blocks {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
  margin-top: 3.75rem;
}

.gs-gift__block { display: flex; flex-direction: column; gap: 1.25rem; }

.gs-gift__title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.gs-bank {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, .22);
}

.gs-bank__info { flex: 1; }

.gs-bank__name {
  font-family: var(--font-title);
  font-size: .9375rem;
  font-weight: 700;
}

.gs-bank__holder {
  margin-top: .2rem;
  font-size: .9375rem;
}

.gs-bank__addr {
  margin-top: .2rem;
  max-width: 28rem;
  font-size: .875rem;
  line-height: 1.65;
}

.gs-bank__num {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gs-bank__num p {
  font-family: var(--font-title);
  font-size: 1.375rem;
  letter-spacing: .14em;
}

.gs-bank__num .gs-ico-btn .gs-ico { width: 1.25rem; height: 1.25rem; }

.gs-gift__block .gs-btn { margin-top: .25rem; }

.gs-gift .gs-btn--outline-green {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.gs-gift .gs-btn--outline-green:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* --------------------------------- wishes -------------------------------- */
.gs-wish {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(to top, rgba(92, 107, 87, .14), #fff 70%);
  color: var(--color-1);
}

.gs-wish__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gs-wish__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3.75rem;
}

.gs-input,
.gs-textarea {
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid var(--line-green);
  border-radius: 0;
  background: #fff;
  color: var(--color-1);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.gs-input::placeholder,
.gs-textarea::placeholder { color: rgba(92, 107, 87, .55); }

.gs-input:focus,
.gs-textarea:focus {
  border-color: rgba(92, 107, 87, .65);
  box-shadow: 0 0 0 3px rgba(92, 107, 87, .1);
}

.gs-textarea {
  min-height: 8.5rem;
  padding: 1.25rem 1rem;
  resize: vertical;
}

.gs-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gs-wish__more {
  display: flex;
  margin: 2rem auto 0;
  min-height: 3.5rem;
  padding-inline: 1.5rem;
}

.gs-wish__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.gs-wish__item {
  padding: 1.25rem;
  border: 1px solid rgba(92, 107, 87, .18);
  background: rgba(255, 255, 255, .65);
}

.gs-wish__item.is-extra { display: none; }

.gs-wish__name {
  font-family: var(--font-title);
  font-size: 1rem;
}

.gs-wish__meta {
  margin-top: .15rem;
  font-size: .6875rem;
  letter-spacing: .06em;
  opacity: .6;
}

.gs-wish__text {
  margin-top: .55rem;
  font-size: .875rem;
  line-height: 1.7;
  color: #3f4a3c;
  overflow-wrap: anywhere;
}

.gs-wish__empty { font-size: .875rem; opacity: .7; text-align: center; }

/* -------------------------------- closing -------------------------------- */
.gs-closing {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80vh;
  padding-bottom: 4.5rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.gs-closing__bg { position: absolute; inset: 0; z-index: 0; }

.gs-closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-closing__veil { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .55); }

.gs-closing__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 42rem;
  padding: 3rem 1.5rem;
}

.gs-closing__msg {
  font-size: .9375rem;
  line-height: 1.75;
  opacity: .9;
}

.gs-closing .gs-divider { margin: 2rem auto; opacity: .45; }

.gs-closing__label { font-size: .875rem; opacity: .85; }

.gs-closing__names {
  margin-top: .35rem;
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gs-closing__date { margin-top: .5rem; font-size: .9375rem; opacity: .85; }

.gs-closing__foot {
  margin-top: 2.75rem;
  font-size: .6875rem;
  line-height: 1.9;
  opacity: .9;
}

.gs-closing__foot-title {
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}

.gs-closing__foot-love { opacity: .8; }

.gs-closing__foot-love span {
  color: #d8e4c8;
  margin-right: .15rem;
}

.gs-closing__foot-by { opacity: .7; }

.gs-closing__foot-by a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gs-closing__foot-by a:hover { opacity: 1; }

/* ------------------------------ bottom nav ------------------------------- */
.gs-nav {
  position: fixed;
  z-index: 35;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(115%);
  transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
}

html:not(.gs-locked) .gs-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.gs-nav__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: .15rem;
  width: 100%;
  max-width: 27rem;
  padding: .3rem .35rem;
  border: 1px solid rgba(92, 107, 87, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 10px 30px rgba(35, 43, 36, .18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.gs-nav a {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .4rem .15rem;
  border-radius: .75rem;
  color: var(--color-1);
  font-size: .5rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.gs-nav a .gs-ico { width: 1.1rem; height: 1.1rem; }

.gs-nav a span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .8;
}

.gs-nav a.is-active,
.gs-nav a:hover {
  background: var(--color-1);
  color: #fff;
}

.gs-nav a.is-active span { opacity: 1; }

/* --------------------------------- music --------------------------------- */
.gs-music {
  position: fixed;
  z-index: 26;
  right: 1.15rem;
  bottom: 5.4rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(35, 43, 36, .55);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
}

.gs-music:hover { background: rgba(35, 43, 36, .8); }
.gs-music:active { transform: scale(.94); }

.gs-music__disc {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #f3f2ed 0 1.5px, #3a4036 1.5px 4px);
  animation: gs-spin 6s linear infinite paused;
}

.gs-music__disc::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--color-1);
  transform: translate(-50%, -50%);
}

.gs-music.is-playing .gs-music__disc { animation-play-state: running; }

/* --------------------------------- modal --------------------------------- */
.gs-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 24, 21, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.gs-modal.is-open { opacity: 1; visibility: visible; }

.gs-modal__box {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: 90vh;
  padding: 2rem 1.5rem;
  overflow: auto;
  background: #fff;
  color: var(--color-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  transform: translateY(12px) scale(.98);
  transition: transform .3s ease;
}

.gs-modal.is-open .gs-modal__box { transform: none; }

.gs-modal__x {
  position: absolute;
  top: .5rem;
  right: .65rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: .55;
}

.gs-modal__x:hover { opacity: 1; }

.gs-modal__box h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.gs-modal__sub {
  margin-top: .4rem;
  font-size: .8125rem;
  text-align: center;
  color: #5b665a;
}

.gs-modal__form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.25rem;
}

.gs-modal__form label {
  margin-top: .5rem;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--color-1);
}

.gs-modal__row {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

.gs-modal__row .gs-btn { flex: 1; min-height: 3rem; }

.gs-modal__alert {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(92, 107, 87, .3);
  background: rgba(92, 107, 87, .08);
  font-size: .8125rem;
  line-height: 1.65;
}

/* --------------------------------- toast --------------------------------- */
.gs-toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 5.5rem;
  padding: .75rem 1.1rem;
  background: rgba(35, 43, 36, .94);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .03em;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.gs-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------- animations ------------------------------ */
@keyframes gs-spin { to { transform: rotate(360deg); } }

@keyframes gs-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

html.gs-anim .gs-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, .61, .36, 1);
}

html.gs-anim .gs-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* -------------------------------- responsive ----------------------------- */
@media (min-width: 640px) {
  .gs-photo__inner { padding: 3rem; }
  .gs-card { padding: 2rem; }
  .gs-event__facts { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .gs-bank { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .gs-couple__grid {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
    max-width: none;
  }

  .gs-couple__grid > .gs-person { flex: 1; }
  .gs-couple__amp { align-self: center; }
}

@media (min-width: 1024px) {
  .gs-cover__slides img { object-position: center 28%; }

  /* Slide studio-wide: pasangan ada di bagian bawah foto. */
  .gs-cover__slides img:nth-child(4) { object-position: center 88%; }

  .gs-hero__bg .gs-hero__photo { object-position: center 34%; }

  .gs-closing__bg .gs-closing__photo { object-position: center 34%; }

  .gs-gallery__grid { gap: 1rem; }

  .gs-gallery__item { flex: 0 0 calc((100% - 2rem) / 3); }

  /* Desktop: ikon bulat saja, seperti navigasi bawah tema referensi. */
  .gs-nav { padding-bottom: 1.15rem; }

  .gs-nav__inner {
    width: auto;
    max-width: none;
    gap: .35rem;
    padding: .4rem;
  }

  .gs-nav a {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
  }

  .gs-nav a span { display: none; }

  .gs-music { bottom: 1.35rem; }

  .gs-cover__inner { padding: 4rem 3rem; }
  .gs-cover__names { font-size: 4.5rem; }
  .gs-cover__kicker { font-size: 1rem; }
  .gs-cover__label { font-size: 1rem; }
  .gs-cover__guestname { font-size: 1.875rem; }
  .gs-cover__note { font-size: .8125rem; }
  .gs-btn--cover { font-size: .875rem; }

  .gs-hero__foot {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 3rem;
  }

  .gs-hero__right { align-items: flex-end; text-align: right; margin-bottom: 0; }
  .gs-hero__left { align-items: flex-start; }
  .gs-hero__save { font-size: 1.125rem; }
  .gs-hero__kicker { font-size: 1rem; }
  .gs-hero__names { font-size: 3rem; }
  .gs-hero__date { font-size: 1rem; }
  .gs-countdown { padding: 1rem; }
  .gs-countdown__cell { width: 5rem; }
  .gs-countdown__num { font-size: 2.25rem; }
  .gs-countdown__label { margin-top: .5rem; }

  .gs-open { padding: 4rem 8rem; }
  .gs-h2 { font-size: 3rem; }
  .gs-open__names { font-size: 2.25rem; }
  .gs-monogram { font-size: 3rem; }

  .gs-photo__veil {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .gs-photo__inner { gap: 6rem; padding: 6rem; }

  .gs-person__body { background: rgba(255, 255, 255, .1); }
  .gs-person__body h3 { font-size: 1.25rem; }

  .gs-card { padding: 2.5rem; }
  .gs-event__top { margin-top: 3rem; }
  .gs-card__badge { padding: .75rem 1.5rem; font-size: .75rem; border-radius: 0 0 1.5rem 0; }
  .gs-event__title { font-size: 2.25rem; }
  .gs-event__acts .gs-ico { width: 2rem; height: 2rem; }
  .gs-event__venue { font-size: 1.125rem; }
  .gs-event__addr { font-size: .875rem; }

  .gs-dress { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .gs-dress__title { font-size: 1.875rem; }

  .gs-story__inner,
  .gs-gift__inner,
  .gs-wish__inner { padding: 0 3rem; }

  .gs-gift__title { font-size: 1.875rem; }
  .gs-bank__num p { font-size: 1.5rem; }

  .gs-closing { height: 100vh; }
  .gs-closing__msg { font-size: 1rem; }
  .gs-closing__names { font-size: 3rem; }
  .gs-closing__date { font-size: 1rem; }

  .gs-quote { font-size: 1.25rem; }
}

@media (min-width: 1280px) {
  .gs-photo__img { left: 50%; width: 50%; }

  .gs-event__note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gs-orn,
  .gs-hero__bg img,
  .gs-music__disc { animation: none !important; }
  html.gs-anim .gs-reveal { opacity: 1; transform: none; transition: none; }
  .gs-cover,
  .gs-content,
  .gs-cover__slides img { transition-duration: .01ms !important; }
}

/* Layar pendek (mis. jendela desktop rendah / landscape ponsel):
   rapatkan cover agar tombol BUKA UNDANGAN tetap terlihat. */
@media (max-height: 680px) {
  .gs-cover__inner { padding: 2rem 1.25rem 1.5rem; justify-content: space-between; }
  .gs-cover__top { margin-top: 0; }
  .gs-cover__kicker { font-size: .625rem; }
  .gs-cover__names { font-size: 2.125rem; line-height: 1.02; }
  .gs-cover__bottom { gap: .75rem; }
  .gs-cover__label { font-size: .6875rem; }
  .gs-cover__guestname { font-size: 1.125rem; }
  .gs-cover__note { font-size: .625rem; max-width: 17rem; }
  .gs-btn--cover { min-height: 2.35rem; padding-block: .35rem; font-size: .625rem; }
}

