/* ═══════════════════════════════════════════
   anka - ოქროს დაბადების დღე
   Mobile-first · Golden Age palette
═══════════════════════════════════════════ */

/* ── Local fonts ── */
@font-face {
  font-family: 'Chewy';
  src: url('fonts/Chewy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'SS GEO BRO';
  src: url('fonts/SS GEO BRO Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'SS GEO BRO';
  src: url('fonts/SS GEO BRO Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'SS GEO BRO';
  src: url('fonts/SS GEO BRO SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'SS GEO BRO';
  src: url('fonts/SS GEO BRO Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'SS GEO BRO';
  src: url('fonts/SS GEO BRO ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

:root {
  --cream:       #f5edd8;   /* unified bg - both sections */
  --cream-card:  #fdf8ee;   /* card surfaces */
  --brown:       #3c1e04;
  --brown-mid:   #7a4810;
  --brown-soft:  #9e7840;
  --gold:        #b88a08;
  --gold-lt:     #e2cc7e;
  --gold-pale:   #f5eccc;
}

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

::-webkit-scrollbar              { width: 5px; }
::-webkit-scrollbar-track        { background: var(--cream); }
::-webkit-scrollbar-thumb        { background: var(--gold-lt); border-radius: 3px; }
html { scrollbar-color: var(--gold-lt) var(--cream); scrollbar-width: thin; }

/* overflow-x belongs on html alone. On body it also forces overflow-y to
   compute as auto, which turns body into a scroll container that can never
   scroll - the trackpad wheel gesture latches onto that dead scroller instead
   of the page. */
html {
  overflow-x: hidden;
}

body {
  font-family: 'SS GEO BRO', sans-serif;
  background: var(--cream);
  color: var(--brown);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: clip;   /* clips sides; lets bottom decos bleed into next section */
}

/* ── Deco base ── */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  display: block;
  z-index: 1;
}

/* ── Corner large elements ── */
.deco--disco-tl {
  top: -4.5rem;
  left: -4.5rem;
  width: 14rem;
  z-index: 2;
}

.deco--disco-tr {
  top: -4rem;
  right: -4.5rem;
  width: 14rem;
  z-index: 2;
}

.deco--disco-bl {
  bottom: -5rem;
  left: -4.5rem;
  width: 14rem;
  z-index: 2;
}

.deco--disco-br {
  bottom: -4.5rem;
  right: -4.5rem;
  width: 14rem;
  z-index: 2;
}

/* ── TL corner companions ── */
.deco--bow-tl {
  top: 10%;
  left: 15%;
  width: 5rem;
  z-index: 3;
}

.deco--star-tl {
  top: 15%;
  left: -2%;
  width: 4rem;
  z-index: 1;
}

/* ── TR corner companions ── */
.deco--heart-tr {
  top: 14%;
  right: 6%;
  width: 5rem;
  z-index: 4;
}

.deco--spark-tr {
  top: 6%;
  right: 25%;
  width: 4rem;
  z-index: 3;
}

/* ── BL corner companions ── */
.deco--heart-bl {
  bottom: 10%;
  left: 16%;
  width: 5rem;
  z-index: 3;
}

.deco--spark-bl {
  bottom: 14%;
  left: -1%;
  width: 4rem;
  z-index: 1;
}

/* ── BR corner companions ── */
.deco--flower-br {
  bottom: 10%;
  right: 18%;
  width: 5rem;
  z-index: 3;
}

.deco--star-br {
  bottom: 16%;
  right: -2%;
  width: 6rem;
}

/* ── Near-cake elements ── */
.deco--butterfly-c {
  top: 54%;
  right: 10%;
  width: 3rem;

}
.deco--butterfly-cl {
  top: 48%;
  left: 10%;
  width: 3rem;

}

.deco--star-c {
  top: 51%;
  left: 63%;
  width: 4vw;
  max-width: 15px;
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 48px 28px;
}

/* Guest name */
.hero-dear {
  display: none;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--brown);
  margin-bottom: 10px;
  font-family: SS GEO BRO;
  font-weight: 600;
}

.hero-dear.visible { display: block; }

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.eyebrow-text {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--brown-soft);
}

.eyebrow-gem {
  font-size: 0.5rem;
  color: var(--gold);
}

/* Name */
.hero-name {
  font-family: 'Chewy', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--brown);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

/* Cake */
.hero-cake {
  width: 18vw;
  max-width: 174px;
  height: auto;
  display: block;
  margin: 4px auto 0;
}

/* Subtitle */
.hero-subtitle {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: var(--brown-soft);
  margin-top: 10px;
  margin-bottom: 16px;
}

/* Rule */
.hero-rule {
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 14px;
}

/* Taglines */
.hero-taglines {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--brown-soft);
  margin-bottom: 20px;
}

.tagline-dot {
  color: var(--gold);
  font-size: 0.7rem;
}

/* Meta */
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-date {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--brown-mid);
}

.hero-time {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--brown-soft);
}

.hero-venue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-lt);
  padding-top: 1rem;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.hero-venue:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.venue-pin { display: inline-block; }

/* ═══════════════════════════════════════════
   SMOOTH IDLE ANIMATIONS
   Long durations + tiny travel = organic,
   never jittery. All start at neutral state.
═══════════════════════════════════════════ */

/* Corner disco balls - barely perceptible drift */
@keyframes drift-tl {
  /* -20deg base rotation baked in so animation doesn't fight a static transform */
  0%, 100% { transform: translate(0, 0) rotate(-20deg); }
  50%       { transform: translate(-3px, -4px) rotate(-19.6deg); }
}
@keyframes drift-tr {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%       { transform: translate(3px, -3px) rotate(-0.4deg); }
}
@keyframes drift-bl {
  0%, 100% { transform: scaleX(-1) rotate(20deg) translate(0, 0); }
  50%       { transform: scaleX(-1) rotate(20.4deg) translate(-2px, 4px); }
}
@keyframes drift-br {
  0%, 100% { transform: rotate(15deg) translate(0, 0); }
  50%       { transform: rotate(15.4deg) translate(3px, 3px); }
}

/* Generic floats */
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-5px) rotate(1.2deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-4px) rotate(-0.9deg); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-6px) rotate(0.8deg); }
}
@keyframes float-butterfly-cl {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
  50%       { transform: scaleX(-1) translateY(-6px) rotate(0.8deg); }
}

/* Per-element floats with base rotation baked in */
@keyframes float-bow-tl {
  0%, 100% { transform: translateY(0) rotate(-25deg); }
  50%       { transform: translateY(-5px) rotate(-23.8deg); }
}
@keyframes float-star-tl {
  0%, 100% { transform: translateY(0) rotate(-25deg); }
  50%       { transform: translateY(-5px) rotate(-23.8deg); }
}
@keyframes float-heart-tr {
  0%, 100% { transform: translateY(0) rotate(20deg); }
  50%       { transform: translateY(-4px) rotate(21.2deg); }
}
@keyframes float-spark-tr {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%       { transform: translateY(-4px) rotate(-8.8deg); }
}
@keyframes float-heart-bl {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50%       { transform: translateY(-5px) rotate(-13.8deg); }
}
@keyframes float-spark-bl {
  0%, 100% { transform: translateY(0) rotate(30deg); }
  50%       { transform: translateY(-4px) rotate(31.5deg); }
}
@keyframes float-flower-br {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50%       { transform: translateY(-4px) rotate(16.2deg); }
}

/* Cake - very slow, subtle idle bob */
@keyframes cake-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%       { transform: translateY(-4px) rotate(0.3deg); }
  70%       { transform: translateY(-5px) rotate(-0.3deg); }
}

/* Content page-load fade */
@keyframes content-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sparkle glyphs - slow, soft twinkle */
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8) rotate(0deg); }
  50%       { opacity: 0.85; transform: scale(1.2) rotate(15deg); }
}

/* Entry keyframes - each ends at exactly the idle animation's 0% state for a seamless handoff */
@keyframes enter-tl-ball {
  from { opacity: 0; transform: translate(-110px, -80px) rotate(-20deg); }
  to   { opacity: 1; transform: translate(0, 0) rotate(-20deg); }
}
@keyframes enter-tr-ball {
  from { opacity: 0; transform: translate(110px, -80px) rotate(0deg); }
  to   { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
@keyframes enter-bl-ball {
  from { opacity: 0; transform: scaleX(-1) rotate(20deg) translate(110px, 80px); }
  to   { opacity: 1; transform: scaleX(-1) rotate(20deg) translate(0, 0); }
}
@keyframes enter-br-ball {
  from { opacity: 0; transform: rotate(15deg) translate(110px, 80px); }
  to   { opacity: 1; transform: rotate(15deg) translate(0, 0); }
}
@keyframes enter-tl-comp {
  from { opacity: 0; transform: translate(-60px, -40px) rotate(-25deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-25deg); }
}
@keyframes enter-tr-heart {
  from { opacity: 0; transform: translate(60px, -40px) rotate(20deg); }
  to   { opacity: 1; transform: translateY(0) rotate(20deg); }
}
@keyframes enter-tr-spark {
  from { opacity: 0; transform: translate(60px, -40px) rotate(-10deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-10deg); }
}
@keyframes enter-bl-heart {
  from { opacity: 0; transform: translate(-60px, 40px) rotate(-15deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-15deg); }
}
@keyframes enter-bl-spark {
  from { opacity: 0; transform: translate(-60px, 40px) rotate(30deg); }
  to   { opacity: 1; transform: translateY(0) rotate(30deg); }
}
@keyframes enter-br-flower {
  from { opacity: 0; transform: translate(60px, 40px) rotate(15deg); }
  to   { opacity: 1; transform: translateY(0) rotate(15deg); }
}
@keyframes enter-br-star {
  from { opacity: 0; transform: translate(60px, 40px) rotate(0deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}
@keyframes enter-butterfly {
  from { opacity: 0; transform: translateY(10px) rotate(0deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}
@keyframes enter-butterfly-flip {
  from { opacity: 0; transform: scaleX(-1) translateY(10px) rotate(0deg); }
  to   { opacity: 1; transform: scaleX(-1) translateY(0) rotate(0deg); }
}

/* ── Apply animations (entry chains into idle) ──
   Entry: cubic-bezier(0.16, 1, 0.3, 1) = snappy spring ease-out
   Balls: 1.6s, Companions: 1.3s + 0.4s delay, done at ~1.7s
   Content: 1.2s + 0.6s delay
*/
.deco--disco-tl {
  animation:
    enter-tl-ball  1.6s cubic-bezier(0.16, 1, 0.3, 1) both,
    drift-tl       13s  ease-in-out 1.6s infinite;
}
.deco--disco-tr {
  animation:
    enter-tr-ball  1.6s cubic-bezier(0.16, 1, 0.3, 1) both,
    drift-tr       11s  ease-in-out 1.6s infinite;
}
.deco--disco-bl {
  animation:
    enter-bl-ball  1.6s cubic-bezier(0.16, 1, 0.3, 1) both,
    drift-bl       15s  ease-in-out 1.6s infinite;
}
.deco--disco-br {
  animation:
    enter-br-ball  1.6s cubic-bezier(0.16, 1, 0.3, 1) both,
    drift-br       12s  ease-in-out 1.6s infinite;
}
.deco--bow-tl {
  animation:
    enter-tl-comp  1.3s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-bow-tl   8.5s  ease-in-out 1.70s infinite;
}
.deco--star-tl {
  animation:
    enter-tl-comp  1.3s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-star-tl  8.0s  ease-in-out 1.75s infinite;
}
.deco--heart-tr {
  animation:
    enter-tr-heart  1.3s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-heart-tr  7.8s  ease-in-out 1.70s infinite;
}
.deco--spark-tr {
  animation:
    enter-tr-spark  1.3s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-spark-tr  6.5s  ease-in-out 1.75s infinite;
}
.deco--heart-bl {
  animation:
    enter-bl-heart  1.3s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-heart-bl  9.2s  ease-in-out 1.70s infinite;
}
.deco--spark-bl {
  animation:
    enter-bl-spark  1.3s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-spark-bl  7.0s  ease-in-out 1.75s infinite;
}
.deco--flower-br {
  animation:
    enter-br-flower  1.3s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-flower-br  8.8s  ease-in-out 1.70s infinite;
}
.deco--star-br {
  animation:
    enter-br-star  1.3s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-c        8.0s  ease-in-out 1.75s infinite;
}
.deco--butterfly-c {
  animation:
    enter-butterfly       1.1s 0.70s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-c               8.2s  ease-in-out 1.8s infinite;
}
.deco--butterfly-cl {
  animation:
    enter-butterfly-flip  1.1s 0.75s cubic-bezier(0.16, 1, 0.3, 1) both,
    float-butterfly-cl    8.2s  ease-in-out 1.85s infinite;
}
.deco--star-c { animation: twinkle 5.5s ease-in-out 1.7s infinite both; }
.hero-cake    { animation: cake-bob 10s  ease-in-out 0.8s infinite; }
.hero-content { animation: content-fade 1.2s ease-out 0.6s both; }

/* ═══════════════════════════════════════════
   LOCATION - same bg as hero, no seam
═══════════════════════════════════════════ */

.location {
  position: relative;
  background: var(--cream);
  padding: 10rem 20px 68px;   /* reduced top so it flows directly from hero */
  overflow: hidden;
}

.loc-deco-flower {
  position: absolute;
  right: -3.5rem;
  bottom: -1.5rem;
  width: 54vw;
  max-width: 240px;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.location-inner {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin: 0 auto;
}

/* Top decorative row */
.loc-top-decos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.loc-top-decos img {
  width: 38px;
  height: auto;
  display: block;
}

/* Title */
.loc-title {
  font-family: 'SS GEO BRO', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brown);
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}

/* Date / time cards */
.loc-cards {
  display: flex;
  align-items: center;
  background: var(--cream-card);
  border: 1px solid var(--gold-lt);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.loc-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.loc-card-sep {
  width: 1px;
  height: 38px;
  background: var(--gold-lt);
  margin: 0 16px;
}

.loc-card-label {
  font-size: 0.54rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: var(--brown-soft);
}

.loc-card-value {
  font-family: 'SS GEO BRO', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brown);
  letter-spacing: 0.02em;
}

/* Venue card */
.loc-venue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-card);
  border: 1px solid var(--gold-lt);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 22px;
  gap: 10px;
}

.loc-glass {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.loc-venue-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.loc-venue-name {
  font-family: 'SS GEO BRO', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brown);
  letter-spacing: 0.04em;
  text-align: center;
}

.loc-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--brown-mid);
  background: var(--gold-pale);
  border: 1px solid var(--gold-lt);
  border-radius: 24px;
  padding: 6px 16px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.loc-map-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.loc-bow2 {
  width: 54px;
  height: auto;
  flex-shrink: 0;
}

/* Bottom decos */
.loc-bottom-decos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.loc-bottom-decos img {
  width: 34px;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */

.footer {
  background: var(--gold-pale);
  padding: 16px 20px;
  text-align: center;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  opacity: 0.3;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.footer-credit:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 1);
}

.footer-logo {
  width: 20px;
  height: auto;
}

/* ═══════════════════════════════════════════
   DESKTOP NOTICE
═══════════════════════════════════════════ */

.mobile-prompt { display: none; }

/* ═══════════════════════════════════════════
   481px
═══════════════════════════════════════════ */

@media (min-width: 481px) {
  .hero-name  { font-size: 92px; }
  .hero-cake  { width: 38vw; max-width: 195px; }
  .deco--disco-tl { width: 58vw; }
  .deco--disco-tr { width: 55vw; }
  .deco--disco-bl  { width: 53vw; }
  .deco--disco-br { width: 57vw; }
}

/* ═══════════════════════════════════════════
   769px - desktop override + notice
═══════════════════════════════════════════ */

@media (min-width: 769px) {
  .mobile-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    text-align: center;
    gap: 18px;
    padding: 40px;
  }

  .mobile-prompt-icon {
    width: 52px;
    height: auto;
    opacity: 0.8;
  }

  .mobile-prompt-text {
    font-size: 1rem;
    font-weight: 400;
    color: var(--brown);
    letter-spacing: 0.04em;
  }

  .mobile-prompt-sub {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--brown-soft);
    letter-spacing: 0.1em;
  }

  .hero-name { font-size: 110px; }
  .hero-cake { width: 30vw; max-width: 230px; }
  .deco--disco-tl { width: 44vw; }
  .deco--disco-tr { width: 42vw; }
  .deco--disco-bl  { width: 40vw; }
  .deco--disco-br { width: 43vw; }
}

/* ═══════════════════════════════════════════
   1025px
═══════════════════════════════════════════ */

@media (min-width: 1025px) {
  .hero-name { font-size: 130px; }
  .hero-cake { width: 22vw; max-width: 255px; }
}


/* ===========================================================================
   Viewport pin + loading screen
   ---------------------------------------------------------------------------
   Shared across every Weddsite template; only the palette below is per design.

   --vh is written by the inline script in <head> and re-measured on width
   changes only, so Instagram's and Messenger's sliding nav bar cannot resize
   the layout. `vh`, `svh`, `lvh` and `dvh` all move with it, which is why the
   pin has to come from JS. The 100vh/100svh floors stay as the no-JS fallback
   and MUST be declared before the .vh-lock rule that overrides them.

   The loader exists so `font-display: block` is safe: the block period is spent
   behind the spinner instead of on an invisible page. It also holds the entry
   animation (via .is-loading) so the intro is not played out behind it.
   =========================================================================== */

:root {
    --vh: 1vh;
}

html {
    overscroll-behavior-y: none;
}

.vh-lock .hero {
    min-height: calc(var(--vh) * 100);
}

/* Entry animations must not play out behind the spinner - a guest who uncovers a
   finished, static scene has been shown nothing. `is-loading` is set by the
   inline script in <head> before first paint and removed on reveal, so a paused
   animation resumes from frame zero exactly when the guest can first see it.
   The spinner itself is excluded, and with JS off the class never lands. */
.is-loading body *:not(.loader):not(.loader__spinner) {
    animation-play-state: paused !important;
}

.loader {
    position: fixed;
    inset: 0;
    /* Out-ranks every entry overlay (envelopes / curtains / clouds live at 9999+). */
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5edd8;
    opacity: 1;
    transition: opacity 0.55s ease;
}

.loader.is-hidden {
    opacity: 0;
}

.loader.is-gone {
    display: none;
}

.loader__spinner {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid #f5eccc;
    border-top-color: #b88a08;
    border-radius: 50%;
    animation: loader-spin 0.9s linear infinite;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}
