/* ================= NAV ================= */
.nav {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-8) clamp(1.5rem, 3vw, 3rem);
  background: transparent;
  color: inherit;
}

.nav--satin {
  color: var(--raw-satin);
}

.nav--satin .nav__toggle {
  border-color: var(--raw-satin);
  color: var(--raw-satin);
}

.nav__links--desktop-left,
.nav__links--desktop-right {
  display: none;
  list-style: none;
  gap: clamp(2rem, 2vw + 2rem, 5rem);
}

@media (min-width: 1024px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }
  .nav__links--desktop-left,
  .nav__links--desktop-right {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 0.3em;
  }
  .nav__links--desktop-left { justify-content: flex-end; }
  .nav__links--desktop-right { justify-content: flex-start; }
  .nav__mark { justify-self: center; margin-inline: clamp(3rem, 6vw, 6rem); }
  .nav__mark-img { height: 70px; }
  .nav__toggle { display: none !important; }
  .nav__links { display: none !important; }
}

.nav a {
  font-family: var(--font-h4);
  text-decoration: none;
  color: inherit;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
  .nav a {
    font-size: clamp(0.85rem, 0.3vw + 0.75rem, 1.05rem);
  }
}

@media (min-width: 1024px) {
  .nav__links--desktop-left li,
  .nav__links--desktop-right li {
    flex: 0 0 auto;
  }
}

.nav__mark {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.nav__mark-img {
  height: 70px;
  width: auto;
  display: block;
}

@media (max-width: 1023px) {
  .nav__mark {
    margin-left: clamp(1rem, 5vw, 2.5rem);
  }
}

@media (max-width: 640px) {
  .nav__mark-img {
    height: 48px;
  }
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--color-heading);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.90rem;
  font-size: var(--text-nav);
  cursor: pointer;
  color: var(--color-text);
  font-family: var(--font-h4);
}

body.nav-open {
  overflow: hidden;
}

.nav__links {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  row-gap: var(--space-4);
  list-style: none;
  background: var(--color-bg-deep);
  padding: var(--space-10) var(--space-3) var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms var(--ease), visibility 0s linear 320ms;
}

.nav__links--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 320ms var(--ease), visibility 0s linear 0s;
}

.nav__links-close {
  position: absolute;
  top: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  font-family: var(--font-h4);
  font-size: clamp(2rem, 5.5vw, 2.5rem);
  line-height: 1;
  color: var(--raw-satin);
  cursor: pointer;
  padding: 0.3em 0.5em;
}

.nav__links-title {
  grid-row: 1;
  font-family: var(--font-h1-h2);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--raw-satin);
  text-align: center;
  margin: var(--space-4) 0 0;
}

.nav__links-list {
  grid-row: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links-list li:not(:last-child) {
  border-bottom: 1px solid rgba(244, 232, 184, 0.22);
}

.nav__links-list a {
  font-family: var(--font-h4);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 400;
  text-decoration: none;
  color: var(--raw-satin);
  padding: var(--space-2) var(--space-3);
  display: block;
  text-align: center;
  white-space: nowrap;
}

.nav__links-ribbon {
  grid-row: 3;
  width: min(85%, 420px);
  height: auto;
  display: block;
}

@keyframes nav-link-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav__links--open .nav__links-list li a {
  animation: nav-link-in 380ms var(--ease) both;
}
.nav__links--open .nav__links-list li:nth-child(1) a { animation-delay: 40ms; }
.nav__links--open .nav__links-list li:nth-child(2) a { animation-delay: 110ms; }
.nav__links--open .nav__links-list li:nth-child(3) a { animation-delay: 180ms; }
.nav__links--open .nav__links-list li:nth-child(4) a { animation-delay: 250ms; }

@media (hover: hover) and (pointer: fine) {
  .nav__links-list a:hover {
    background: rgba(244, 232, 184, 0.1);
  }
  .nav__links-close:hover {
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__links,
  .nav__links--open .nav__links-list li a {
    transition: none;
    animation: none;
  }
}

@media (min-width: 900px) {
  .nav__links {
    display: none !important;
  }
}

/* ================= GENERIC SCROLL FADE-IN ================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= BUTTONS ================= */
.button {
  display: inline-block;
  padding: 0.55rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid currentColor;
  background: transparent;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: var(--font-h4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.button--img {
  display: inline-block;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 0;
  margin-bottom: var(--space-2);
  margin-top: var(--space-2);
}

.button--img__image {
  height: 60px;
  width: auto;
  display: block;
  transition: transform var(--duration) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .button--img:hover .button--img__image {
    transform: scale(1.04);
  }
}

.button--primary {
  color: var(--color-cta);
}

.button--primary:hover {
  background: var(--color-cta);
  color: var(--raw-ivory);
}

.button--on-dark {
  color: var(--raw-satin);
}

.button--on-dark:hover {
  background: var(--raw-satin);
  color: var(--color-bg-deep);
}

/* ================= DIVIDER ================= */
.divider {
  display: block;
  margin-inline: auto;
  padding: var(--space-6) 0;
}

.divider img {
  width: 350px;
  max-width: 60vw;
}

.getting-there-ribbon {
  width: 60%;
}

@media (max-width: 640px) {
  .getting-there-ribbon {
    width: 96%;
  }
}

/* ================= RSVP PARALLAX PAPERS ================= */
.rsvp-composition {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: 150px 0 30px;
}

@media (min-width: 641px) {
  .rsvp-composition {
    min-height: 1000px;
  }
}

.rsvp-star {
  position: absolute;
  z-index: 3;
}

@media (max-width: 640px) {
  .rsvp-paper--blue,
  .rsvp-paper--green,
  .rsvp-star {
    display: none;
  }
  .rsvp-composition {
    padding-top: var(--space-6);
  }
}

.rsvp-paper {
  position: absolute;
  will-change: transform;
}

.rsvp-paper--blue {
  height: 800px;
  width: auto;
  z-index: 1;
  top: 100px;
  left: 450px;
  transform: rotate(5deg) translateY(var(--parallax-y, 0px));
}

.rsvp-paper--green {
  height: 350px;
  width: auto;
  z-index: 2;
  top: 600px;
  left: 700px;
  transform: rotate(10deg) translateY(var(--parallax-y, 0px));
}

#vibe-check {
  overflow: visible;
}

.rsvp-paper--form {
  position: relative;
  z-index: 3;
  width: min(92vw, 700px);
  max-width: 100%;
  margin-inline: auto;
  background: var(--raw-satin);
  color: var(--color-text);
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: 4px;
  border: 1px solid rgba(71, 18, 36, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

@media (min-width: 641px) {
  .rsvp-paper--form {
    width: min(88vw, 860px);
    padding: var(--space-10) var(--space-8) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .rsvp-paper--form {
    width: min(55vw, 620px);
    padding: var(--space-8) var(--space-6) var(--space-6);
  }
}

/* ================= RSVP FORM ================= */
.rsvp-form__heading {
  font-size: var(--text-h3);
  margin-bottom: var(--space-3);
  text-align: left;
}

.rsvp-form__deadline {
  text-align: center;
  font-family: var(--font-h4);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  opacity: 0.85;
}

.rsvp-form { display: grid; gap: var(--space-4); margin-top: var(--space-4); }

.rsvp-form__guest-details {
  display: grid;
  gap: var(--space-4);
}

.rsvp-form__guest-details[hidden] {
  display: none;
}

.rsvp-form label {
  font-family: var(--font-h4);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.rsvp-form input[type="text"],
.rsvp-form input[type="email"],
.rsvp-form input[type="tel"],
.rsvp-form textarea {
  font: inherit;
  font-size: var(--text-body);
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-heading);
  background: transparent;
  padding: 0.05rem 0;
  color: var(--color-text);
}

.rsvp-form textarea {
  resize: vertical;
  min-height: 3.2rem;
  line-height: 1.3;
}

.rsvp-form__attending {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.rsvp-form__attending label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: none;
  font-family: var(--font-body);
  font-size: var(--text-body);
  cursor: pointer;
}

.rsvp-form__checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-size: var(--text-body);
  cursor: pointer;
}

.rsvp-form__checkbox input[type="checkbox"] {
  appearance: none;
  width: 3.4rem;
  height: 1.8rem;
  border: 1.5px solid var(--color-heading);
  border-radius: var(--radius-pill);
  margin: 0;
  cursor: pointer;
  position: relative;
}

.rsvp-form__checkbox input[type="checkbox"]:checked {
  background: var(--color-heading);
}

.rsvp-form__attending input[type="radio"] {
  appearance: none;
  width: 3.4rem;
  height: 1.8rem;
  border: 1.5px solid var(--color-heading);
  border-radius: var(--radius-pill);
  margin: 0;
  cursor: pointer;
  position: relative;
}

.rsvp-form__attending input[type="radio"]:checked {
  background: var(--color-heading);
}

.rsvp-form__signature {
  margin-top: var(--space-2);
}

.signature-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.signature-row__x {
  font-family: var(--font-h1-h2);
  font-size: var(--text-h4);
  line-height: 1;
  padding-bottom: 0.4rem;
}

.signature-row .signature-pad {
  flex: 1;
}

.signature-pad {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 100px;
  border: none;
  border-bottom: 1px solid var(--color-heading);
  background: transparent;
  cursor: crosshair;
  touch-action: none;
}

.signature-clear {
  background: none;
  border: none;
  text-decoration: underline;
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--color-text);
  margin-top: 0.3rem;
  padding: 0;
}

.rsvp-form__signature-line {
  border-bottom: 1px solid var(--color-heading);
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  font-family: var(--font-h1-h2);
  font-size: var(--text-sm);
  padding-bottom: 0.2rem;
}

.rsvp-form__fine-print {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text);
  opacity: 0.8;
  margin-top: 0.4rem;
}

/* ================= RSVP RESPONSE (after submit) ================= */
.rsvp-response__message {
  font-family: var(--font-h4);
  font-size: var(--text-body);
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.rsvp-response__calendar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  text-align: center;
}

.rsvp-response__calendar a {
  font-family: var(--font-h4);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-decoration: underline;
}

/* ================= HOUSE RULES ================= */
.rules-stack {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  margin-top: var(--space-2);
  padding: var(--space-2) 0;
}

.rules-stack__collage {
  position: absolute;
  width: 75%;
  top: -3%;
  left: -15%;
  transform: rotate(-6deg);
  z-index: 1;
}

.rules-stack__star {
  position: absolute;
  z-index: 3;
}

.rules-card-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1020px;
  margin-inline: auto;
  transform: rotate(2deg);
}

.rules-card-mobile-image {
  position: relative;
  z-index: 0;
  width: 90%;
  max-width: 300px;
  margin-inline: auto;
  transform: rotate(0deg);
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  display: none;
}
@media screen and (max-width: 768px) {
  .rules-card-mobile-image {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .rules-card-image {
    display: none;
  }
  .rules-stack__collage {
    display: none;
  }
}

/* ================= SCHEDULE ================= */
.schedule-title {
  font-family: var(--font-h1-h2);
  font-size: var(--text-h2);
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}
.schedule-image {
  width: 75%;
  max-width: 550px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .schedule-image {
    width: 92%;
  }
}

@media (min-width: 641px) {
  .schedule-image {
    max-width: 663px;
  }
}

/* ================= DRESS CODE ================= */
.dress-title {
  font-family: var(--font-h1-h2);
  font-size: var(--text-h2);
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-4);
}

.dress-eyebrow {
  font-family: var(--font-h4);
  font-size: var(--text-h4);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.dress-body {
  font-size: var(--text-sm);
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.7;
}

.dress-code {
  position: relative;
  padding-bottom: var(--space-8);
}

.dress-code__star {
  position: absolute;
  opacity: 0.9;
}

/* ================= GETTING THERE (decorative stars) ================= */
.getting-there__star {
  position: absolute;
  opacity: 0.9;
}

/* ================= DECORATIVE STARS: shared mobile touch hardening =================
   Without this, iOS Safari can hijack a press-and-drag on an <img> into a
   text-selection or "save image" callout instead of the pointer drag,
   making dragging feel like it only works "sometimes". */
.schedule__star,
.dress-code__star,
.getting-there__star,
.rules-stack__star,
.rsvp-star,
.timeline__marker {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ================= COLOR DOTS (Wear Colour) ================= */
.color-dots {
  position: relative;
  min-height: 440px;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  margin-top: var(--space-8);
}

.color-dots--physics {
  overflow: hidden;
}

.color-dot {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.color-dot--blue    { background-color: var(--raw-blue);      background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Blue.webp"); }
.color-dot--pink-lt  { background-color: var(--raw-pink-lt);   background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Light_Pink.webp"); }
.color-dot--olive   { background-color: var(--raw-chartreuse);background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Green.webp"); }
.color-dot--satin   { background-color: var(--raw-satin);     background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Satin.webp"); }
.color-dot--brown   { background-color: #5a4636;              background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Metallic_brown.webp"); }
.color-dot--pink-dk  { background-color: var(--raw-pink-dk);   background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Darker_Pink.webp"); }
.color-dot--tomato  { background-color: var(--raw-tomato);    background-image: url("../Images/landing-page/colour-palette-dots/Jella_Components_Colour_Palette_Dot_Tomato.webp"); }

.color-dot--blue    { top: 2%;  left: 6%; }
.color-dot--pink-lt  { top: 0%;  right: 4%; }
.color-dot--olive   { top: 32%; right: 33%; }
.color-dot--satin   { top: 42%; left: 30%; }
.color-dot--brown   { bottom: 2%; left: 2%; }
.color-dot--pink-dk  { bottom: 2%; left: 39%; }
.color-dot--tomato  { bottom: 4%; right: 2%; }

@media (max-width: 640px) {
  .color-dots {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }
  .color-dot { position: static; width: 68px; height: 68px; }

  .color-dot:nth-child(1) { transform: translateY(6px); }
  .color-dot:nth-child(2) { transform: translateY(-10px); }
  .color-dot:nth-child(3) { transform: translateY(18px); }
  .color-dot:nth-child(4) { transform: translateY(-4px); }
  .color-dot:nth-child(5) { transform: translateY(14px); }
  .color-dot:nth-child(6) { transform: translateY(-14px); }
  .color-dot:nth-child(7) { transform: translateY(8px); }
}

/* ================= FAQ CARDS ================= */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 750px;
  margin-inline: auto;
}

@media (min-width: 641px) {
  .faq-stack {
    max-width: 638px;
  }
}

.faq-stack__card {
  display: block;
  width: 100%;
  height: auto;
}

.faq-stack__link {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: transform var(--duration) var(--ease);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .faq-stack__link:hover {
    transform: scale(1.02);
  }
}

/* ================= CONTACT ================= */
.contact-people {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.contact-people--stacked {
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}

.contact-person__name {
  font-family: var(--font-h4);
  font-size: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: underline;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--raw-satin);
}

.contact-person a {
  text-decoration: none;
  font-size: var(--text-body);
  color: var(--raw-satin);
}

.whimsy-copy {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-body);
  color: var(--raw-satin);
  max-width: 55ch;
  margin-inline: auto;
}

/* ================= FOOTER / COUNTDOWN ================= */
.countdown { text-align: center; margin-top: var(--space-2); }
.countdown__label {
  font-family: var(--font-h1-h2);
  font-size: var(--text-h3);
  display: block;
}
.countdown__timer { font-variant-numeric: tabular-nums; font-size: var(--text-body); }

.bottom-secret {
  position: relative;
  max-width: 220px;
  margin: var(--space-6) auto 0;
  text-align: center;
}

.bottom-secret__bird {
  width: 100%;
  max-width: 160px;
  margin-inline: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.bottom-secret__bird--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: bottom-secret-bob 2.6s ease-in-out infinite;
}

@keyframes bottom-secret-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1); }
}

.bottom-secret__bubble {
  position: absolute;
  top: 2%;
  right: 2%;
  transform: translate(35%, -40%) scale(0.8);
  background: var(--raw-satin);
  color: var(--color-text);
  font-family: var(--font-h4);
  font-size: var(--text-sm);
  white-space: nowrap;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.bottom-secret__bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 24%;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: var(--raw-satin);
  border-bottom: 0;
}

.bottom-secret__bubble--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(35%, -40%) scale(1);
}

/* ================= SHOOTING STAR CURSOR ================= */
.star-particle {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 9999;
  background: var(--raw-satin);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.9;
  will-change: transform, opacity;
}

/* ================= MOBILE: decorative stars ================= */
@media (max-width: 640px) {
  .schedule__star,
  .rules-stack__star,
  .dress-code__star,
  .getting-there__star {
    width: 40px !important;
  }

  .rules-stack {
    margin-inline: calc(-1 * var(--space-3) - 24px);
  }

  .schedule__star:nth-of-type(1) { top: 1%    !important; left: 3%   !important; right: auto !important; bottom: auto !important; }
  .schedule__star:nth-of-type(2) { top: 2%    !important; right: 3%  !important; left: auto  !important; bottom: auto !important; }
  .schedule__star:nth-of-type(3) { bottom: 2% !important; left: 3%   !important; top: auto   !important; right: auto  !important; }
  .schedule__star:nth-of-type(4) { bottom: 3% !important; right: 3%  !important; top: auto   !important; left: auto  !important; }
  .schedule__star:nth-of-type(5) { top: 4%    !important; left: -2%  !important; right: auto !important; bottom: auto !important; }

  .rules-stack__star:nth-of-type(1) { top: -2% !important; right: 0 !important; }
  .rules-stack__star:nth-of-type(2) { bottom: -2% !important; right: 0 !important; }

  .dress-code__star:nth-of-type(1) { top: 1%    !important; left: 4%   !important; right: auto !important; bottom: auto !important; }
  .dress-code__star:nth-of-type(2) { top: 2%    !important; right: 2%  !important; left: auto  !important; bottom: auto !important; }
  .dress-code__star:nth-of-type(3) { bottom: 2% !important; left: 2%   !important; top: auto   !important; right: auto  !important; }
  .dress-code__star:nth-of-type(4) { bottom: 3% !important; right: 4%  !important; top: auto   !important; left: auto  !important; }
  .dress-code__star:nth-of-type(5) { bottom: 5% !important; right: -2% !important; top: auto   !important; left: auto  !important; }

  .getting-there__star:nth-of-type(1) { top: 1%    !important; left: 3%   !important; right: auto !important; bottom: auto !important; }
  .getting-there__star:nth-of-type(2) { top: 2%    !important; right: 2%  !important; left: auto  !important; bottom: auto !important; }
  .getting-there__star:nth-of-type(3) { bottom: 2% !important; left: -2%  !important; top: auto   !important; right: auto  !important; }
  .getting-there__star:nth-of-type(4) { bottom: 3% !important; right: 3%  !important; top: auto   !important; left: auto  !important; }
  .getting-there__star:nth-of-type(5) { top: 4%    !important; right: -2% !important; bottom: auto !important; left: auto  !important; }
}

/* ================= OUR STORY: HERO (title + photo) ================= */
.story__hero-section {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(100svh - var(--measured-nav-height, 6rem));
  overflow-x: hidden;
  padding-top: 0;
  padding-bottom: var(--space-4);
}

.story__hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  gap: var(--space-3);
  width: 100%;
}

.our_story_title {
  font-family: var(--font-h1-h2);
  font-size: var(--text-display);
  font-weight: 400;
  color: var(--raw-burgundy);
  line-height: 1;
  padding-inline: 0.3em;
  text-align: center;
  margin: 0;
}

.our_story_title-word:not(:last-child) {
  margin-right: 0.2em;
}

.story__hero-photo {
  display: block;
  width: 115px;
  height: auto;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .story__hero-photo {
    width: 190px;
  }
}

@media (max-width: 767px) {
  .story__hero {
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
  }
  .story__hero-image {
    order: -1;
  }
  .story__hero-photo {
    width: 95px;
    padding-top: 1.2em;
    padding-bottom: 2rem
  }
}

@media (max-width: 640px) {
  .our_story_title {
    font-size: var(--text-display-mobile);
    padding-inline: 0;
  }
}

.timeline__intro {
  font-family: var(--font-h3);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  color: var(--raw-burgundy);
  max-width: 90vw;
  margin: 0 auto var(--space-4);
  text-align: center;
}

/* ================= OUR STORY: SERPENTINE TIMELINE ================= */
.timeline-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-10);
}

.timeline {
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  padding: var(--space-6) 0;
  --timeline-step: 460px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 24px;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='80'%3E%3Cpath d='M12 0 Q 24 20 12 40 Q 0 60 12 80' stroke='%23471224' stroke-width='3' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.6;
}

.timeline__item {
  position: relative;
  width: 44%;
  margin-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

.timeline__item--left {
  margin-right: 56%;
  text-align: right;
}

.timeline__item--right {
  margin-left: 56%;
  text-align: left;
}

.timeline__item--left .timeline__content { padding-right: var(--space-3); }
.timeline__item--right .timeline__content { padding-left: var(--space-3); }

.timeline__content {
  position: relative;
}

@media (min-width: 900px) {
  .timeline--staircase {
    padding-bottom: 0;
  }

  .timeline--staircase .timeline__item {
    position: absolute;
    top: 0;
    width: 44%;
    margin: 0;
  }

  .timeline--staircase .timeline__item--left {
    left: 0;
  }

  .timeline--staircase .timeline__item--right {
    left: auto;
    right: 0;
  }
}

.timeline__photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.timeline__item--left .timeline__photo-wrap { margin-left: auto; transform: rotate(-3deg); }
.timeline__item--right .timeline__photo-wrap { margin-right: auto; transform: rotate(3deg); }

.timeline__photo {
  display: block;
  width: 100%;
  height: auto;
}

.timeline__marker {
  position: absolute;
  width: 70px;
  height: 70px;
  object-fit: contain;
  z-index: 2;
  opacity: 0.9;
}

.timeline__marker--bl { bottom: -14px; left: -14px; }
.timeline__marker--br { bottom: -14px; right: -14px; }

.timeline__date {
  font-family: var(--font-h4);
  font-size: var(--text-body);
   color: var(--raw-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  opacity: 0.85;
}

.timeline__text {
  font-family: var(--font-body);
  color: var(--raw-burgundy);
  font-size: var(--text-body);
  line-height: 1.6;
}

@media (min-width: 641px) and (max-width: 899px) {
  .timeline::before {
    left: 12px;
    transform: none;
  }
  .timeline__item,
  .timeline__item--left,
  .timeline__item--right {
    width: calc(100% - 56px);
    margin-left: 56px;
    margin-right: 0;
    text-align: left;
  }
  .timeline__item--left .timeline__photo-wrap,
  .timeline__item--right .timeline__photo-wrap {
    margin-left: 0;
    margin-right: 0;
  }
  .timeline__item--left .timeline__content,
  .timeline__item--right .timeline__content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .timeline::before {
    left: 12px;
    transform: none;
  }
  .timeline__item,
  .timeline__item--left,
  .timeline__item--right {
    width: calc(100% - 56px);
    margin-left: 56px;
    margin-right: 0;
    text-align: left;
  }
  .timeline__item--left .timeline__photo-wrap,
  .timeline__item--right .timeline__photo-wrap {
    margin-left: 0;
    margin-right: 0;
  }
  .timeline__item--left .timeline__content,
  .timeline__item--right .timeline__content {
    padding-left: 0;
    padding-right: 0;
  }
  .timeline__photo-wrap {
    max-width: 260px;
  }
  .timeline__marker {
    width: 56px;
    height: 56px;
  }
  .timeline__marker--bl { bottom: -10px; left: -10px; }
  .timeline__marker--br { bottom: -10px; right: -10px; }

  .timeline__item:first-child .timeline__photo-wrap {
    margin-top: var(--space-2);
  }
}

/* ================= PROPOSAL STORY (click to reveal) ================= */
.proposal-story {
  max-width: 65ch;
  margin: var(--space-3) auto 0;
  text-align: center;
}

.proposal-story__trigger {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-body);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.proposal-story__reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  transition: max-height 500ms var(--ease), opacity 400ms var(--ease), padding-top 400ms var(--ease);
}

.proposal-story__reveal--open {
  max-height: 3000px;
  opacity: 1;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
}

/* ================= OUR STORY: FULL-WIDTH MILESTONES ================= */
.story__milestone {
  max-width: 700px;
  margin: var(--space-8) auto 0;
  text-align: center;
}

@media (min-width: 641px) {
  .story__milestone--engagement {
    max-width: min(92vw, var(--max-content));
  }
  .story__milestone--engagement .story__milestone-text {
    max-width: 105ch;
  }
}

.story__milestone-photo {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius-sm);
}

.story__milestone-date {
  font-family: var(--font-h4);
  font-size: var(--text-h4);
  color: var(--raw-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.story__milestone-text {
  font-family: var(--font-body);
  color: var(--raw-burgundy);
  font-size: var(--text-body);
  line-height: 1.7;
  max-width: 65ch;
  margin-inline: auto;
}

.story__milestone--final .story__milestone-date {
  font-size: var(--text-h3);
  font-family: var(--font-h3);
  text-transform: none;
  letter-spacing: normal;
}

.story__squiggle {
  width: 24px;
  height: 80px;
  margin: var(--space-6) auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='80'%3E%3Cpath d='M12 0 Q 24 20 12 40 Q 0 60 12 80' stroke='%23471224' stroke-width='3' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

/* ================= FUN STUFF ================= */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}

.star-shower__star {
  position: fixed;
  top: -60px;
  z-index: 9998;
  pointer-events: none;
  animation-name: star-shower-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

@keyframes star-shower-fall {
  from { transform: translateY(0) rotate(0deg); opacity: 1; }
  to   { transform: translateY(110vh) rotate(360deg); opacity: 0.7; }
}

.konami-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10001;
  width: min(90vw, 60ch);
  padding: var(--space-8) var(--space-6);
  background: var(--raw-satin);
  color: var(--color-text);
  border: none;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 0 0 3px var(--color-bg-deep), 0 25px 70px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.konami-prompt::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto var(--space-3);
  background-image: url("../Images/landing-page/star-stickers/Jella_Components_Star_Sticker_2.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.konami-prompt--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.konami-prompt__text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.konami-prompt__close {
  font-family: var(--font-h4);
  font-size: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 2.25rem;
  border: 1.5px solid var(--color-heading);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .konami-prompt__close:hover {
    background: var(--color-heading);
    color: var(--raw-satin);
  }
}

/* ================= SITE PASSWORD GATE ================= */
.site-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background-color: var(--color-bg-deep);
  background-image: url("../Images/jella-blue-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-heading);
  padding: var(--space-4);
  text-align: center;
}

html.gate-locked .site-gate {
  display: flex;
}

html.gate-locked body > *:not(#site-gate) {
  display: none !important;
}

.site-gate__date {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-heading);
  opacity: 0.85;
  margin-bottom: 0;
}

.site-gate__title {
  font-family: var(--font-h1-h2);
  font-size: var(--text-h2);
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.site-gate__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: min(90vw, 320px);
  margin-top: var(--space-8);
}

.site-gate__input-wrap {
  position: relative;
  width: 100%;
}

.site-gate__input {
  font: inherit;
  font-size: var(--text-body);
  width: 100%;
  padding: 0.6rem 3.2rem 0.6rem 1.1rem;
  border: 1.5px solid var(--color-heading);
  border-radius: var(--radius-pill);
  background: rgba(240, 237, 224, 0.55);
  color: var(--color-heading);
  text-align: center;
}

.site-gate__input::placeholder {
  color: rgba(71, 18, 36, 0.55);
}

.site-gate__toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-heading);
  opacity: 0.75;
  cursor: pointer;
}

.site-gate__toggle:hover {
  opacity: 1;
}

.site-gate__toggle-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.site-gate__toggle-icon[hidden] {
  display: none !important;
}

.site-gate__submit .button--img__image {
  height: 55px;
}

.site-gate__error {
  font-size: var(--text-sm);
  color: var(--raw-tomato);
  min-height: 1.2em;
  margin-bottom: 0;
}

/* ================= FAQ #10: FULL-SCREEN TAKEOVER ================= */
.faq-takeover {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-deep);
  opacity: 0;
  transition: opacity 400ms var(--ease);
}

.faq-takeover--visible {
  opacity: 1;
}

.faq-takeover__circle {
  width: min(72vw, 72vh, 380px);
  height: min(72vw, 72vh, 380px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  background: var(--raw-satin);
  color: var(--color-text);
  box-shadow: 0 0 0 3px var(--color-bg-deep), 0 25px 70px rgba(0,0,0,0.4);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.faq-takeover__circle::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-2);
  background-image: url("../Images/landing-page/star-stickers/Jella_Components_Star_Sticker_5.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-takeover__circle--visible {
  opacity: 1;
  transform: scale(1);
}

.faq-takeover__circle-text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  max-width: 26ch;
}

.faq-takeover__circle-close {
  font-family: var(--font-h4);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.6rem;
  border: 1.5px solid var(--color-heading);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .faq-takeover__circle-close:hover {
    background: var(--color-heading);
    color: var(--raw-satin);
  }
}

.star-confetti__star {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10040;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  animation-name: star-confetti-burst;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1);
  animation-fill-mode: forwards;
}

@keyframes star-confetti-burst {
  0% { transform: translate(-50%, -50%) scale(0.4) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(360deg); opacity: 0; }
}