/* =====================================================
   Story section — cursive header + two columns
   Left: text | Right: oval + two overlapping polaroids
   ===================================================== */

.paper-card--story {
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 4rem 5rem;
}

/* Big cursive title */
.story-big-title {
  font-family: "ImperialScript-Regular", "Georgia", serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(90, 76, 52, 0.85);
  line-height: 1;
  margin-bottom: 2.8rem;
  text-align: center;
  width: 100%;
}

/* Two-column layout */
.story-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* Left: story text */
.story-text-body {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.95;
  color: rgba(31, 36, 48, 0.70);
}

.story-text-body p + p {
  margin-top: 1.1rem;
}

.story-closing {
  font-style: italic;
  color: rgba(90, 76, 52, 0.85);
  font-size: 0.95rem;
  margin-top: 1.6rem !important;
}

/* ── Right photo column ── */
.story-photo-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Big oval — taller and narrower for a proper oval look */
.story-oval-wrap {
  width: 72%;
  aspect-ratio: 9/12;
  border-radius: 48%;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
  align-self: center;
}

.story-oval-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(18%) sepia(6%);
}

/* Polaroid row — pulled up to overlap the oval's bottom */
.story-polaroids-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -80px;
  position: relative;
  z-index: 3;
  width: 110%;
  padding: 0;
  gap: 0;
}

/* Polaroid card */
.story-polaroid {
  background: #f1ebe0;
  padding: 10px 10px 40px;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.10);
  width: 52%;
  max-width: 190px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
}

.story-polaroid:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.26);
  z-index: 5;
}

.story-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: grayscale(14%) sepia(6%);
}

/* Asymmetric: left one lower and more tilted, right one higher */
.story-polaroid--1 {
  transform: rotate(-5deg) translate(-12px, 28px);
  z-index: 3;
}
.story-polaroid--1:hover { transform: rotate(0deg) translate(-12px, 28px) scale(1.04); }

.story-polaroid--2 {
  transform: rotate(3.5deg) translate(8px, -8px);
  z-index: 2;
}
.story-polaroid--2:hover { transform: rotate(0deg) translate(8px, -8px) scale(1.04); }

/* Mobile — photos on top, text collapsible below */
@media (max-width: 800px) {
  .paper-card--story { padding: 2.5rem 1.4rem 3.5rem; }

  .story-big-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    margin-bottom: 1.8rem;
  }

  .story-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Photos go first on mobile */
  .story-photo-col {
    order: -1;
    margin-bottom: 2.2rem;
  }

  .story-oval-wrap { width: 60%; }

  .story-polaroids-row { width: 100%; }

  .story-polaroid { max-width: 120px; padding: 7px 7px 28px; }

  /* Collapsible text — show ~5 lines before cutting off */
  .story-text-body {
    position: relative;
    max-height: 9.5rem;
    overflow: hidden;
    transition: max-height 0.55s ease;
  }

  .story-text-body.is-expanded {
    max-height: 2000px;
  }

  /* Fade out at the bottom when collapsed */
  .story-text-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5rem;
    background: linear-gradient(to bottom, transparent, var(--story-bg, #f4ebd8));
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .story-text-body.is-expanded::after {
    opacity: 0;
  }

  /* Toggle button — plain text + arrow style */
  .story-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    cursor: pointer;
    font-family: var(--font-serif);
    font-style: italic;
    opacity: 0.85;
    transition: opacity 0.2s ease;
  }

  .story-toggle-btn:hover { opacity: 1; }

  .story-toggle-btn .btn-arrow {
    display: inline-block;
    font-style: normal;
    font-size: 1rem;
    transition: transform 0.35s ease;
    line-height: 1;
  }

  .story-toggle-btn.is-expanded .btn-arrow {
    transform: rotate(180deg);
  }
}

/* Hide toggle button on desktop */
@media (min-width: 801px) {
  .story-toggle-btn { display: none; }
}


/* ── Hotel section — single centered block ── */
.hotel-grid {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* RSVP lead + travel copy */
.travel-copy { margin-top: 0.6rem; }
.rsvp-lead {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

/* Story signature */
.story-signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-dark);
  margin-top: 1.4rem;
  opacity: 0.75;
  letter-spacing: 0.03em;
}