/* PENDAKI — Rimba Mahesa Arshaka Raya
   Hijau hutan dalam + krem hangat + coklat kayu + oranye tenda.
   Tenang & elegan, ornamen digambar sendiri (SVG/CSS), tanpa emoji. */

:root {
  --ink: #22301f;
  --muted: #7a7f6e;
  --paper: #fdfbf6;
  --cream: #f7f3ea;
  --band: #f2ede1;
  --line: #e3dcc9;
  --pine-deep: #0e2a1c;
  --pine: #123524;
  --pine-mid: #1d4a33;
  --pine-soft: #2e5c40;
  --wood: #8a6a45;
  --tent: #e8722a;
  --tent-deep: #c85a1b;
  --overlay: rgba(253, 251, 246, 0.86);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Montserrat', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* lock scroll until cover opens */
body:not(.opened) { overflow: hidden; }

/* ---------- shared ---------- */
.col {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.band { padding: 96px 0; position: relative; overflow: hidden; }
.band.plain { background: var(--paper); }
.band.gray  { background: var(--band); }

/* full-bleed photo background + bright cream overlay */
.sec-bg {
  position: absolute;
  inset: -70px 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  display: block;
}
.sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 500;
}

.muted {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.rule {
  width: 24px;
  border: none;
  border-top: 1px solid var(--tent);
  margin: 36px auto;
  position: relative;
  overflow: hidden;
}
.rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,0.85) 50%, transparent 75%);
  transform: translateX(-130%);
  animation: ruleShimmer 7s ease-in-out infinite;
}
@keyframes ruleShimmer {
  0%, 60%  { transform: translateX(-130%); }
  100%     { transform: translateX(330%); }
}

/* ---------- cover: foto keluarga + pegunungan berlapis ---------- */
#cover {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--pine-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
  overflow: hidden;
}
#cover.open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-photo {
  position: absolute;
  inset: -40px 0 0;
  background: url('cover.jpg') center 32% / cover no-repeat;
  will-change: transform;
}
.cover-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,42,28,0.42) 0%, rgba(14,42,28,0.18) 42%, rgba(14,42,28,0.55) 78%, rgba(14,42,28,0.92) 100%);
}

/* matahari terbit di cover */
.sun {
  position: absolute;
  top: 9%;
  right: 12%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd9a0 0%, #f2a65a 45%, rgba(242,166,90,0) 72%);
  filter: blur(1px);
  animation: sunGlow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sunGlow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* kabut melayang */
.mist {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(247,243,234,0.20) 0%, rgba(247,243,234,0) 65%);
  filter: blur(6px);
  pointer-events: none;
  animation: mistDrift 26s linear infinite;
}
.mist.m1 { bottom: 22%; animation-duration: 26s; }
.mist.m2 { bottom: 12%; animation-duration: 38s; animation-direction: reverse; opacity: 0.7; }
@keyframes mistDrift {
  from { transform: translateX(-6%); }
  to   { transform: translateX(6%); }
}

/* lapisan pegunungan */
.ridge {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  will-change: transform;
}
.ridge-far  { bottom: 52px; height: 120px; opacity: 0.9; }
.ridge-near { bottom: -2px;  height: 90px; }

.cover-inner { text-align: center; padding: 0 32px; position: relative; z-index: 3; animation: coverIn 1.1s var(--ease-lux) both; }
@keyframes coverIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.compass-mini svg { width: 64px; height: 64px; margin: 0 auto 20px; display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35)); }
.compass-mini .needle, .hero-badge .needle { transform-origin: 32px 32px; animation: needleSway 6s ease-in-out infinite; }
@keyframes needleSway {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(8deg); }
}

#cover .label { color: var(--tent); font-weight: 600; letter-spacing: 0.45em; margin-bottom: 18px; }

.cover-kicker {
  font-family: var(--hand);
  font-size: 26px;
  color: #ffe9c9;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.cover-names {
  font-size: clamp(46px, 13vw, 72px);
  font-weight: 800;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 4px 26px rgba(0,0,0,0.45);
}
.cover-names span {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffb37a;
}

.cover-sub {
  color: rgba(247,243,234,0.92);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-top: 22px;
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.cover-date {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffd9a0;
  font-weight: 600;
  margin: 28px 0 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

#open-invitation {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--tent), var(--tent-deep));
  border: none;
  border-radius: 999px;
  color: #fff;
  padding: 16px 42px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(232,114,42,0.45);
  transition: transform 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux), letter-spacing 0.4s var(--ease-lux);
  animation: btnGlow 2.8s ease-in-out infinite;
}
#open-invitation:hover { transform: translateY(-2px); letter-spacing: 0.32em; box-shadow: 0 16px 38px rgba(232,114,42,0.55); }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(232,114,42,0.4); }
  50% { box-shadow: 0 10px 40px rgba(232,114,42,0.65); }
}

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 120px; }
.hero .label { color: var(--pine-mid); font-weight: 600; margin-bottom: 24px; }

.salam {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pine-mid);
  margin-bottom: 18px;
}
.intro {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 34px;
}

.hero-names {
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 800;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--pine-deep);
}

.hero-date {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tent-deep);
  font-weight: 600;
  margin-bottom: 48px;
}

.hero-photo { position: relative; max-width: 360px; margin: 0 auto 44px; overflow: visible; }
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px 999px 22px 22px;
  background: linear-gradient(160deg, var(--tent), var(--wood) 45%, var(--pine-mid) 90%);
  z-index: 0;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 999px 999px 18px 18px;
  border: 4px solid var(--paper);
  will-change: transform;
  box-shadow: 0 24px 60px rgba(14,42,28,0.28);
}
.hero-badge {
  position: absolute;
  right: -6px;
  bottom: 22px;
  z-index: 2;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 8px 18px rgba(14,42,28,0.4));
}
.hero-badge svg { width: 100%; height: 100%; display: block; }

/* kartu kutipan */
.quote-card {
  margin: 0 auto 44px;
  max-width: 400px;
  padding: 26px 24px;
  border: 1px solid rgba(138,106,69,0.4);
  border-left: 4px solid var(--tent);
  border-radius: 16px;
  background: rgba(247,243,234,0.7);
}
.quote-text {
  font-size: 14px;
  font-style: italic;
  color: var(--pine);
  line-height: 1.9;
}

/* countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.countdown div {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 0 12px;
  min-width: 74px;
  box-shadow: 0 8px 24px rgba(14,42,28,0.08);
}
.countdown span {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--pine-deep);
}
.countdown span.cd-tick { animation: cdFade 0.6s var(--ease-lux); }
@keyframes cdFade { from { opacity: 0.2; } to { opacity: 1; } }
.countdown small {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- save the date ---------- */
.savethedate { text-align: center; }

.pattern-frame {
  border: 1px solid rgba(138,106,69,0.5);
  outline: 1px solid rgba(29,74,51,0.22);
  outline-offset: 8px;
  border-radius: 20px;
  padding: 48px 24px 56px;
  background:
    radial-gradient(circle at 50% 0%, rgba(232,114,42,0.10), transparent 60%),
    var(--paper);
  box-shadow: 0 20px 50px rgba(14,42,28,0.12);
  position: relative;
  overflow: hidden;
}

/* matahari terbit di frame */
.sunrise {
  position: relative;
  height: 74px;
  margin-bottom: 6px;
  overflow: hidden;
}
.sun-disc {
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 68px;
  height: 68px;
  margin-left: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffcf8f 0%, var(--tent) 60%, rgba(232,114,42,0) 78%);
  box-shadow: 0 0 34px rgba(232,114,42,0.55);
  animation: sunRise 1.6s var(--ease-lux) both;
}
@keyframes sunRise {
  from { transform: translateY(46px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.sunrise::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 220px;
  height: 26px;
  margin-left: -110px;
  background: var(--pine-deep);
  clip-path: polygon(0 100%, 12% 30%, 26% 78%, 40% 8%, 55% 62%, 68% 18%, 82% 70%, 93% 34%, 100% 100%);
  opacity: 0.92;
}

.std-day {
  font-size: 16px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--pine-mid);
  font-weight: 600;
  margin-bottom: 8px;
}
.std-num {
  font-size: clamp(90px, 26vw, 130px);
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(160deg, var(--pine-mid), var(--pine-deep) 55%, var(--tent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(14,42,28,0.25));
}
.std-month {
  font-size: 15px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.std-note { margin-top: 18px; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- anak card ---------- */
.anak { text-align: center; }
.child-card {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 28px 44px;
  border-radius: 24px;
  background: linear-gradient(170deg, #ffffff 0%, var(--cream) 100%);
  border: 1px solid rgba(138,106,69,0.45);
  box-shadow: 0 24px 60px rgba(14,42,28,0.14);
  position: relative;
  overflow: hidden;
}
.child-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pine-mid), var(--tent), var(--pine-mid));
}
.child-photo-wrap {
  width: 170px; height: 170px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--tent), var(--wood));
  box-shadow: 0 0 34px rgba(232,114,42,0.35);
}
.child-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 4px solid #fff;
}
.child-card h3 {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  color: var(--pine-deep);
  margin-bottom: 14px;
  line-height: 1.35;
}
.child-card .parents { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.child-card .addr { color: var(--pine-mid); font-size: 13px; font-weight: 500; line-height: 1.9; }

/* ---------- jejak rimba (timeline jalur pendakian) ---------- */
.trail .col { text-align: center; }
.trail-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 380px;
  margin: 0 auto 48px;
}
.timeline {
  position: relative;
  margin: 8px auto 0;
  max-width: 400px;
  padding-left: 30px;
  text-align: left;
}
/* garis jejak putus-putus yang berjalan pelan */
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 0;
  border-left: 2px dashed rgba(232,114,42,0.65);
  animation: trailMarch 2.4s linear infinite;
}
@keyframes trailMarch {
  from { background-position: 0 0; }
  to   { background-position: 0 24px; }
}
.tl-item {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 44px;
}
.tl-item:last-child { padding-bottom: 4px; }
.tl-dot {
  position: absolute;
  left: -27px;
  top: 34px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(232,114,42,0.18), 0 0 16px rgba(232,114,42,0.5);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,114,42,0.18), 0 0 16px rgba(232,114,42,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(232,114,42,0.08), 0 0 22px rgba(232,114,42,0.65); }
}
.tl-photo {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--tent);
  box-shadow: 0 10px 24px rgba(14,42,28,0.14);
  transition: transform 0.5s var(--ease-lux);
}
.tl-item:hover .tl-photo { transform: scale(1.06); }
.tl-body { min-width: 0; }
.tl-date {
  font-family: var(--hand);
  font-size: 21px;
  color: var(--tent-deep);
  font-weight: 700;
  margin-bottom: 2px;
}
.tl-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: var(--pine-deep);
}
.tl-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- event cards ---------- */
.event-cards { display: grid; gap: 16px; }
.event-card {
  background: var(--paper);
  border: 1px solid rgba(138,106,69,0.45);
  border-top: 5px solid var(--tent);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(14,42,28,0.12);
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux);
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(14,42,28,0.18); }
.tent-orn svg { width: 96px; height: 48px; margin: 0 auto 14px; display: block; }
.event-card .t-time {
  display: inline-block;
  background: linear-gradient(135deg, var(--tent), var(--tent-deep));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 8px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(232,114,42,0.4);
  margin-bottom: 18px;
}
.event-card h3 { font-size: 28px; font-weight: 700; color: var(--pine-deep); margin-bottom: 8px; }
.event-card .t-desc { font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }
.event-card .t-venue {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 16px 0 24px;
  line-height: 2;
}
.event-card .btn { margin: 6px 4px 0; }

.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pine-deep);
  border: 1px solid var(--tent);
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(232,114,42,0.14), rgba(232,114,42,0.04));
  transition: all 0.4s var(--ease-lux);
}
.btn:hover { background: var(--tent); color: #fff; letter-spacing: 0.24em; box-shadow: 0 10px 28px rgba(232,114,42,0.45); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 600;
}
.btn-ghost:hover { background: var(--pine); border-color: var(--pine); color: #fff; box-shadow: 0 10px 28px rgba(14,42,28,0.3); letter-spacing: 0.24em; }

/* ---------- galeri horizontal (hidup) ---------- */
.gallery-h {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-h::-webkit-scrollbar { display: none; }
.gallery-h img {
  width: 210px;
  height: 280px;
  min-width: 210px;
  object-fit: cover;
  border-radius: 16px;
  scroll-snap-align: start;
  border: 3px solid var(--tent);
  box-shadow: 0 10px 28px rgba(14,42,28,0.2);
  cursor: pointer;
  transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux);
}
.gallery-h img:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(14,42,28,0.3);
  animation: kenburns 7s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { object-position: 50% 40%; }
  to   { object-position: 50% 60%; }
}

/* ---------- forms ---------- */
.rsvp { text-align: center; }
#rsvp-form, #wish-form { margin-bottom: 8px; }
#rsvp-form input[type="text"],
#rsvp-form input[type="number"],
#wish-form input,
#wish-form textarea {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
  margin-bottom: 28px;
  resize: none;
  outline: none;
}
#rsvp-form input:focus, #wish-form input:focus, #wish-form textarea:focus { border-bottom-color: var(--tent); }
#rsvp-form input::placeholder, #wish-form input::placeholder, #wish-form textarea::placeholder { color: #b5b5b5; }

.rsvp-choice {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}
.rsvp-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.5s var(--ease-lux), color 0.5s var(--ease-lux), background 0.5s var(--ease-lux);
}
.rsvp-choice label:has(input:checked) {
  border-color: var(--tent);
  background: rgba(232,114,42,0.08);
  color: var(--pine-deep);
}
.rsvp-choice input[type="radio"] { accent-color: var(--tent); width: 16px; height: 16px; }

#rsvp-form button, #wish-form button[type="submit"] {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pine-mid), var(--pine-deep));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(14,42,28,0.35);
  transition: transform 0.3s var(--ease-lux), box-shadow 0.3s var(--ease-lux);
}
#rsvp-form button:hover, #wish-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(14,42,28,0.45);
}
.rsvp-thanks {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--tent-deep);
  margin-top: 8px;
  line-height: 1.8;
}

/* ---------- footer ---------- */
footer {
  text-align: center;
  padding: 96px 32px 80px;
  background: linear-gradient(180deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
footer .mist { bottom: 8%; opacity: 0.6; }
.ridge-foot {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 90px;
  opacity: 0.55;
  pointer-events: none;
}
.order-cta { margin-bottom: 64px; position: relative; z-index: 1; }
.order-rule {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--tent);
  margin: 0 auto 28px;
}
.order-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tent);
  margin-bottom: 18px;
  font-weight: 600;
}
.order-title {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  color: var(--cream);
}
.order-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-indent: 0.28em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--tent), var(--tent-deep));
  border-radius: 999px;
  padding: 18px 44px;
  font-weight: 800;
  transition: transform 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux);
  animation: btnGlow 2.8s ease-in-out infinite;
}
.order-btn span { position: relative; z-index: 1; }
.order-btn:hover { transform: translateY(-2px); }
.order-btn:focus-visible { outline: 2px solid var(--tent); outline-offset: 4px; }
.order-note { margin-top: 22px; font-size: 12px; color: rgba(247,243,234,0.7); letter-spacing: 0.08em; }
.order-brand { position: relative; z-index: 1; }
.order-brand img { border-radius: 50%; margin-bottom: 12px; }
.order-brand p { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--tent); }

#main { visibility: hidden; }
body.opened #main { visibility: visible; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--ease-lux),
    transform 0.8s var(--ease-lux),
    filter 0.8s var(--ease-lux);
  transition-delay: calc(var(--reveal-i, 0) * 0.08s);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s var(--ease-lux);
  background: rgba(10, 26, 18, 0.94);
}
.lightbox.show { opacity: 1; }
.lb-backdrop { position: absolute; inset: 0; }
.lb-stage {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 620px);
  margin: 0;
  text-align: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s var(--ease-lux), transform 0.55s var(--ease-lux);
}
.lightbox.show .lb-stage img { opacity: 1; transform: scale(1); }
.lb-stage img.lb-swap { animation: lbSwap 0.55s var(--ease-lux); }
@keyframes lbSwap {
  from { opacity: 0.25; transform: scale(0.985); }
  to   { opacity: 1;    transform: scale(1); }
}
.lb-counter {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(247,243,234,0.75);
}
.lb-btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.4s var(--ease-lux), color 0.4s var(--ease-lux);
}
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; color: var(--tent); outline: none; }
.lb-close { top: 14px; right: 14px; font-size: 34px; }
.lb-prev  { left: 10px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 10px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- tombol toggle musik ---------- */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pine-mid), var(--pine-deep));
  border: 1px solid var(--tent);
  color: #ffb37a;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14,42,28,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.music-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(232,114,42,0.4); }
.music-toggle:active { transform: scale(0.96); }
.music-toggle .mt-icon { display: inline-block; transform: translateY(-1px); }
.music-toggle.playing .mt-icon { font-size: 15px; letter-spacing: 2px; }
.music-toggle:focus-visible { outline: 2px solid var(--tent); outline-offset: 3px; }

/* ---------- section label aksen ---------- */
.band.plain .label, .band.gray .label {
  color: var(--pine-mid);
  font-weight: 600;
}
.band.plain .label::after, .band.gray .label::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--tent), transparent);
  margin-top: 10px;
}
.trail .label::after { margin: 10px auto 0; }

/* ---------- responsive ---------- */
@media (max-width: 420px) {
  .countdown { gap: 10px; }
  .countdown span { font-size: 30px; }
  .countdown div { min-width: 64px; }
  .gallery-h img { width: 190px; height: 253px; min-width: 190px; }
  .cover-names { font-size: clamp(42px, 12vw, 64px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .sun, .mist, .compass-mini .needle, .hero-badge .needle,
  #open-invitation, .order-btn, .rule::after, .countdown span.cd-tick,
  .lb-stage img.lb-swap, .sun-disc, .tl-dot, .timeline::before { animation: none !important; }
  .lightbox { transition: none; }
  .event-card:hover, .gallery-h img:hover { transform: none; }
}
