/* ==========================================================
   MINI MISSIONS: styles for "Our Story" and "Summer Park Tour"
   Loaded after styles.css and uses the same brand colours.
   ========================================================== */

/* ---------- Our Story ---------- */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story-photos { position: relative; padding-bottom: 2rem; }
.story-photo {
  margin: 0; background: #fff; padding: 10px 10px 40px; border-radius: 8px;
  box-shadow: var(--shadow-lg); position: relative;
}
.story-photo img { width: 100%; display: block; border-radius: 4px; }
.story-photo figcaption {
  position: absolute; bottom: 6px; left: 0; right: 0; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy);
}
.story-photo-then { width: 82%; transform: rotate(-4deg); }
.story-photo-then figcaption { text-align: left; padding-left: 1.2rem; }
.story-photo-now { width: 56%; margin: -4.5rem 0 0 auto; transform: rotate(3deg); z-index: 1; }
.story-photo-now figcaption { color: var(--coral); }
.story-photos::before {
  /* lime "ball" behind the photos */
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: var(--lime); left: 15%; top: 18%; z-index: -1; opacity: .55;
}
.story { position: relative; isolation: isolate; }
.story-copy h2 { margin-bottom: .6em; }
.story-highlight {
  font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy);
  background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 90%, transparent 90%);
  display: inline;
}
.story-highlight + p { margin-top: 1em; }
.story-sign { margin-top: 1.75rem; display: flex; flex-direction: column; line-height: 1.2; }
.story-sign strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--coral); }
.story-sign span { font-weight: 700; color: var(--muted); }

/* ---------- Summer Park Tour ---------- */
.summer { background: linear-gradient(180deg, #fff6c9 0%, var(--lime-soft) 100%); }
.nav-summer { color: var(--coral) !important; }
.summer-free {
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  background: #1f6b35; padding: .35rem 1.1rem; border-radius: 999px; transform: rotate(-1.5deg);
}
.summer-free span { font-size: 1.05rem; background: var(--sun); color: var(--navy); padding: .05rem .7rem; border-radius: 999px; }
.summer-dates { list-style: none; padding: 0; margin: 1.5rem 0 1rem; display: grid; gap: .6rem; }
.summer-dates li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: .1rem 1rem; align-items: center;
  background: #fff; border-radius: var(--radius-sm); padding: .65rem .9rem; box-shadow: var(--shadow);
}
.summer-date {
  grid-row: span 2; color: #fff; font-family: var(--font-head); font-weight: 800; text-align: center;
  border-radius: 12px; padding: .45rem .4rem; line-height: 1.1;
}
.summer-place { font-weight: 800; color: var(--navy); }
.summer-mission { font-weight: 600; color: var(--muted); font-size: .95rem; }
.summer-mission em { font-style: normal; font-weight: 800; color: #fff; background: var(--coral); font-size: .8rem; padding: .05rem .5rem; border-radius: 999px; margin-left: .3rem; white-space: nowrap; }
.summer-launch { outline: 3px solid var(--sun); }
.date-coral { background: #e8402f; }
.date-sun { background: #f28a12; }
.date-sky { background: #1f8fe0; }
.date-purple { background: #8a3fc4; }
.date-green { background: #2f8a3a; }
.date-pink { background: #e0217a; }
.summer-note { font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.summer-poster { margin: 0; }
.summer-poster a { display: block; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); transition: transform .2s ease; }
.summer-poster a:hover { transform: translateY(-6px) rotate(1deg); }
.summer-poster img { width: 100%; }

/* ---------- Responsive ---------- */
/* Menu has 8 links now: keep it on one line on laptops */
@media (min-width: 1181px) and (max-width: 1360px) {
  .site-nav ul { gap: 0; }
  .site-nav a:not(.btn) { white-space: nowrap; padding: .45rem .42rem; font-size: .9rem; }
  .nav-cta { margin-left: .3rem; }
  .nav-cta .btn { white-space: nowrap; padding: .5rem .95rem; font-size: .95rem; }
}
@media (min-width: 1361px) {
  .site-nav a:not(.btn), .nav-cta .btn { white-space: nowrap; }
}
/* Switch to the menu button a little earlier than before */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: .15rem; }
  .site-nav a:not(.btn) { padding: .75rem 1rem; font-size: 1.1rem; }
  .nav-cta { margin: .75rem 0 0; }
  .nav-cta .btn { width: 100%; padding: .85rem; font-size: 1.1rem; }
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photos { max-width: 460px; margin: 0 auto; width: 100%; }
  .summer-poster { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .summer-dates li { grid-template-columns: 5.8rem 1fr; }
  .summer-date { font-size: .95rem; }
}
