/* ============================================
   THE REUNION 2027 HOME PAGE (/2027)
   Stripes: station wagon, ringer tee, rainbow arch.
   Burnt orange, marigold, avocado, lake blue on cream.
   ============================================ */

/* Emma: handwriting font built from fonts/emma/ (see fonts/emma/build/). */
@font-face {
  font-family: 'Emma';
  src: url('/fonts/emma/Emma.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --nav-h: 84px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  overflow-x: clip;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 0 24px;
}

.nav-links {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
}

/* The text logo in the nav of the other pages (tickets, lodging, payment
   error): the home page's hero title as it sits once docked by
   2027-title-dock.js, THE over REUNION filling 72% of the nav's height. */
.nav-wordmark {
  display: inline-block;
  font-family: 'Caprasimo', Georgia, serif;
  font-size: calc(var(--nav-h) * 0.72 / 1.84);
  line-height: 0.92;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--orange);
}

.nav-wordmark span {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
}

.btn {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.forward-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.polaroids {
  display: flex;
}

.polaroid {
  flex: 1 1 0;
  min-width: 0;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forward-items li {
  display: inline;
}

.forward-items li:not(:last-child)::after {
  content: ' \00B7  ';
}

.letter-paper {
  position: relative;
}

.letter-tape {
  display: none;
}

.letter-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
}

.letter-row-right {
  flex-direction: row-reverse;
}

.letter-row p {
  flex: 1 1 64%;
}

.letter-sketch {
  flex: 0 1 30%;
  min-width: 0;
  width: 30%;
  height: auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.schedule-days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.slot-time,
.slot-name,
.slot-note {
  display: block;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.venue-pills {
  margin-top: 16px;
}

.venue-pill:not(:last-child)::after {
  content: ' \00B7  ';
}

/* --- Carousel (carousel.js moves the track; it reads a 16px gap on load) --- */
.venue-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  width: calc((100% - 32px) / 3);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 40px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: currentColor;
  opacity: 0.3;
}

.carousel-dot.active {
  opacity: 1;
}

/* --- FAQ --- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.footer-links a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-closer,
.footer-copy {
  text-align: center;
}

@media (max-width: 1000px) {
  .forward-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex-basis: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav-links {
    gap: 14px;
    font-size: 14px;
  }

  /* Room for the logo, FAQ and the ticket button on a phone */
  .nav-links li:nth-last-child(2) {
    display: none;
  }

  .forward-groups,
  .values-grid,
  .schedule-days,
  .venue-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .letter-row,
  .letter-row-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .letter-row p {
    flex: none;
  }

  .letter-sketch {
    flex: none;
    width: 60%;
    align-self: center;
  }
}

/* ============ Stripes ============ */

:root {
  --cream: #FBF1DC;
  --paper: #FFF9EC;
  --orange: #C4551F;
  --gold: #E6A41C;
  --green: #5B6B2D;
  --green-deep: #3D4A1F;
  --blue: #2E6B7B;
  --bark: #3A2314;
  --bark-soft: #5A4535; /* bark lightened to 8:1 on cream */
  --band: linear-gradient(to bottom, var(--orange) 0 25%, var(--gold) 25% 50%, var(--green) 50% 75%, var(--blue) 75%);
  --ring: 13px;
}

body {
  background: var(--cream);
  color: var(--bark);
  font-family: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
}

h1, h2, h3, .section-title {
  font-family: 'Caprasimo', Georgia, serif;
  font-weight: 400;
}

.section-title {
  /* The 9.6vw cap keeps a long word ("Accommodations") inside a 360px phone. */
  font-size: clamp(2rem, min(9.6vw, 1.6rem + 3.6vw), 4.5rem);
  line-height: 1.02;
  color: var(--orange);
  margin-bottom: 24px;
}

/* Nav */
.nav {
  background: var(--cream);
}

.nav-links {
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-ticket a,
.nav-ticket button {
  display: block;
  padding: 8px 18px;
  border: 0;
  border-radius: 99px;
  background: var(--orange);
  color: var(--paper);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.nav-ticket a:hover,
.nav-ticket button:hover {
  background: var(--bark);
  color: var(--paper);
}

/* Hero: the highlight reel in a big portrait polaroid, above the band */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: end;
  gap: 0 64px;
  padding: 56px max(24px, calc((100% - 1180px) / 2)) 0;
  background: var(--cream);
}

.hero-content {
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-bottom: 72px;
}

/* --stripe runs 1 to 0 as the title docks in the nav (2027-title-dock.js). */
.hero-name {
  --stripe: 1;
  font-family: 'Caprasimo', Georgia, serif;
  font-size: clamp(3.25rem, 1.25rem + 6.4vw, 7rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow:
    calc(3px * var(--stripe)) calc(3px * var(--stripe)) 0 var(--cream),
    calc(6px * var(--stripe)) calc(6px * var(--stripe)) 0 var(--gold);
  margin-bottom: 36px;
}

.hero-name span {
  display: block;
}

/* The copy that flies into the nav. The real h1 stays in the hero, invisible,
   holding the layout and the heading for screen readers. */
.js-title-dock .hero .hero-name {
  opacity: 0;
}

.hero-name-dock {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  margin: 0;
  transform-origin: 0 0;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}

.hero-name-dock.is-docked {
  pointer-events: auto;
}

/* The dates fly in after the title, beside it or stacked under it on phones. */
.js-title-dock .hero .hero-when {
  opacity: 0;
}

.hero-when-dock {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  margin: 0;
  transform-origin: 0 0;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}

.hero-when-dock .when-short {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hero-when {
  color: var(--bark-soft);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.25;
}

.hero-where {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  color: var(--blue);
}

.hero-tag {
  font-family: 'Caprasimo', Georgia, serif;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.2;
  color: var(--green);
  margin: 20px 0 28px;
}

.hero-media {
  /* Frame width; the video window inside is 4:3 landscape, captioned in the
     deeper bottom border. */
  --pw: clamp(340px, 40vw, 520px);
  --pad: calc(var(--pw) * 0.045);
  --chin: calc(var(--pw) * 0.2);
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 2;
  width: var(--pw);
  margin: 8px 0 72px;
  padding: var(--pad) var(--pad) 0;
  background: #FFFDF8;
  transform: rotate(2.5deg);
  box-shadow:
    0 2px 6px rgba(58, 35, 20, 0.18),
    0 14px 34px rgba(58, 35, 20, 0.26);
}

.hero-media video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
  background: var(--bark);
}

/* Sound toggle, sitting in the bottom corner of the video window (above the chin). */
.hero-sound {
  position: absolute;
  right: calc(var(--pad) + 10px);
  bottom: calc(var(--chin) + 10px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 9px 12px;
  border: 0;
  border-radius: 99px;
  background: rgba(58, 35, 20, 0.62);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-sound:hover {
  background: rgba(58, 35, 20, 0.82);
}

.hero-sound:active {
  transform: scale(0.95);
}

.hero-sound:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-sound svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.hero-sound .icon-on,
.hero-sound.is-on .icon-off,
.hero-sound.is-on .hero-sound-label {
  display: none;
}

.hero-sound.is-on .icon-on {
  display: block;
}

.hero-sound.is-on {
  padding: 9px;
}

.hero-media figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--chin);
}

/* "COME PLAY!" in real handwriting, traced to an SVG from a photo of the
   original (images/2027/come-play.svg). */
.hero-media figcaption img {
  width: 62%;
  height: auto;
}

.hero-river {
  --river-h: 55px;
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2;
  height: calc(var(--river-h) + var(--ring));
  margin: 0 calc(-1 * max(24px, (100vw - 1180px) / 2));
}

/* The river: drawn after the pines so the water covers their feet. */
.hero-river::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-bottom: var(--ring) solid var(--gold);
}

/* Each stand of pines sits on the far bank, the foot of its mound in the water. */
.pines {
  position: absolute;
  bottom: calc(var(--river-h) + var(--ring) - 6px);
  width: auto;
}

.pines-left {
  left: 0;
  height: clamp(110px, 16vw - 50px, 200px);
}

.pines-right {
  right: 0;
  /* Down far enough that the grassy mound sits just behind the water. */
  translate: 0 3%;
  height: clamp(190px, 29vw, 420px);
}

.btn {
  padding: 15px 34px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--paper);
  font-weight: 800;
  font-size: 1.125rem;
}

.btn:hover {
  background: var(--bark);
}

button.btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.hero-cta {
  text-align: center;
}

.hero-early {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--orange);
  margin-bottom: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wave {
  height: 52px;
  background: var(--band);
}

/* About */
.about {
  padding: 88px 0 96px;
}

.about-grid {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-lead {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  font-weight: 600;
  line-height: 1.42;
}

/* Photo mosaic around the "Your Journey Starts Here" sign (after Ana Tudor's
   responsive grid layout pen). Wide: 4 x 4 cells, the sign over the middle
   four. Phones: two columns, below. mosaic.js fades tiles to new photos. */
.mosaic {
  --gap: 8px;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  aspect-ratio: 16 / 9;
  margin-top: 40px;
  border-radius: 22px;
  overflow: hidden;
}

.mosaic-tile {
  position: relative;
  overflow: hidden;
  background: var(--line);
}

.mosaic-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transition: opacity 1.2s ease; /* FADE_MS in mosaic.js */
}

/* A photo mosaic.js has just added starts clear and fades in over the old one. */
.mosaic-tile img:not(:first-child):not(.is-in) {
  opacity: 0;
}

.mosaic-tile:nth-child(1) { grid-area: 1 / 1 / span 2; }
.mosaic-tile:nth-child(2) { grid-area: 1 / 2 / span 2 / span 2; }
.mosaic-tile:nth-child(3) { grid-area: 1 / 4; }
.mosaic-tile:nth-child(4) { grid-area: 2 / 4; }
.mosaic-tile:nth-child(5) { grid-area: 3 / 1; }
.mosaic-tile:nth-child(6) { grid-area: 3 / 2 / span 2; }
.mosaic-tile:nth-child(7) { grid-area: 3 / 3 / span 2; }
.mosaic-tile:nth-child(8) { grid-area: 3 / 4 / span 2; }
.mosaic-tile:nth-child(9) { grid-area: 4 / 1; }

.mosaic-sign {
  grid-area: 2 / 2 / span 2 / span 2;
  place-self: center;
  z-index: 1;
  width: 22cqi;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: var(--gap) solid var(--cream);
  border-radius: 50%;
}

.carousel-slide {
  border-radius: 22px;
}

.carousel-btn {
  border-radius: 50%;
  background: var(--paper);
  color: var(--orange);
}

.carousel-btn:hover {
  background: var(--orange);
  color: var(--paper);
}

.carousel-dots {
  color: var(--orange);
}

/* Look forward: fans of polaroids */
.forward {
  background: var(--paper);
  /* The fans may run past the screen edge; never let them widen the page. */
  overflow-x: clip;
}

.forward > .container {
  /* A little wider than the page so the big polaroid fans have room. */
  max-width: 1320px;
  padding-top: 88px;
  padding-bottom: 96px;
}

.forward .section-title {
  text-align: center;
  color: var(--green);
  margin-bottom: 64px;
}

.forward-groups {
  /* Three across (3 / 3 / 2), with a short last row centred. */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --forward-gap: 72px;
  gap: 64px var(--forward-gap);
}

.forward-group {
  width: calc((100% - 2 * var(--forward-gap)) / 3);
  text-align: center;
}

.polaroids {
  justify-content: center;
  align-items: flex-start;
  padding: 10px 0 30px;
  margin-bottom: 4px;
}

.polaroid {
  position: relative;
  flex: 0 0 auto;
  /* Three overlap to a little under their column's width (3 x 42% - 6 x 7% =
     84%), so the tilted corners stay clear of the next group's fan. */
  width: 42%;
  margin: 0 -7%;
  padding: 6px 6px 22px;
  background: #FFFDF8;
  box-shadow: 0 3px 12px rgba(58, 35, 20, 0.28);
  transition: transform 0.25s ease;
}

.polaroid:nth-child(1) { z-index: 1; transform: rotate(-6deg); }
.polaroid:nth-child(2) { z-index: 2; transform: translateY(14px) rotate(3deg); }
.polaroid:nth-child(3) { z-index: 1; transform: rotate(7deg); }

.polaroid:hover {
  z-index: 3;
  transform: scale(1.06) rotate(0deg);
}

.polaroid img {
  height: auto;
  aspect-ratio: 1;
  filter: saturate(1.08) sepia(0.12);
}

.forward-group h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--orange);
}

.forward-group:nth-child(4n + 2) h3 { color: var(--green); }
.forward-group:nth-child(4n + 3) h3 { color: var(--blue); }
.forward-group:nth-child(4n + 4) h3 { color: var(--bark-soft); }

.forward-items {
  margin-top: 8px;
  font-size: 0.975rem;
  line-height: 1.4;
}

.forward-items li:not(:last-child)::after {
  color: var(--orange);
  font-weight: 800;
}

/* Letter */
.family-band {
  background: var(--green);
}

.family-band section > .container {
  padding-top: 88px;
  padding-bottom: 88px;
}

.about-letter {
  max-width: 960px;
  margin: 0 auto;
}

.letter-paper {
  padding: 64px clamp(24px, 6vw, 72px);
  border-radius: 36px;
  background: var(--paper);
  font-size: 1.125rem;
}

.letter-heading {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.05;
  color: var(--orange);
  margin-bottom: 40px;
  text-align: center;
}

.letter-sketch {
  padding: 12px;
  border-radius: 50%;
  background: #F8DFA6;
  aspect-ratio: 1;
  object-fit: contain;
}

.letter-row:nth-of-type(2) .letter-sketch { background: #F2C5A7; }
.letter-row:nth-of-type(3) .letter-sketch { background: #D6DBB1; }

/* Photos in the circles (Moose's Selects): a thin ring of the circle's colour. */
.letter-photo {
  padding: 7px;
  object-fit: cover;
}

/* Photo rings take the stripes, top to bottom: yellow, blue, orange. */
.letter-row .letter-sketch.letter-photo { background: var(--gold); }
.letter-row + .letter-row .letter-sketch.letter-photo { background: var(--blue); }
.letter-row + .letter-row + .letter-row .letter-sketch.letter-photo { background: var(--orange); }

.letter-pull {
  margin-top: 48px;
  font-family: 'Caprasimo', Georgia, serif;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1.2;
  color: var(--blue);
  text-align: center;
}

/* Values */
.values {
  background: var(--paper);
}

.values > .container {
  padding-top: 88px;
  padding-bottom: 96px;
}

.values .section-title {
  color: var(--bark);
  text-align: center;
}

.values-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 600;
}

.agreement-card {
  padding: 36px;
  border-radius: 28px;
  background: var(--orange);
  color: var(--paper);
}

.agreement-card:nth-child(2) { background: var(--green-deep); }
.agreement-card:nth-child(3) { background: var(--blue); }
.agreement-card:nth-child(4) { background: var(--bark); }

.value-title {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 14px;
}

.family-agreements {
  max-width: 760px;
  margin: 72px auto 0;
}

.values-bridge {
  text-align: center;
  font-style: italic;
  font-size: 1.125rem;
}

.family-agreements-title {
  margin: 16px 0 20px;
  text-align: center;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  line-height: 1.1;
}

/* Stacked, with a stripe-colored dot centered between agreements. */
.family-agreements-list {
  padding: 0;
  list-style: none;
}

.family-agreements-list li {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.family-agreements-list li + li::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  margin: 12px auto;
  border-radius: 50%;
  background: var(--orange);
}

.family-agreements-list li:nth-child(4n + 3)::before { background: var(--gold); }
.family-agreements-list li:nth-child(4n + 4)::before { background: var(--green); }
.family-agreements-list li:nth-child(4n + 5)::before { background: var(--blue); }
/* Schedule */
.schedule {
  background: var(--blue);
  color: var(--paper);
}

.schedule > .container {
  padding-top: 88px;
  padding-bottom: 96px;
}

.schedule .section-title {
  color: var(--paper);
  text-align: center;
}

.schedule-intro {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 56px;
}

.schedule-day h3 {
  font-size: 2.25rem;
  line-height: 1.1;
  color: #F4C25B;
  margin-bottom: 12px;
}

.schedule-day li {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 249, 236, 0.35);
}

.slot-time {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F4C25B;
}

.slot-name {
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.3;
}

/* Meals take the day headers' yellow. */
.slot-meal {
  color: #F4C25B;
}

.slot-note {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.88;
  margin: 2px 0 6px;
}

.slot-note a {
  color: inherit;
}

/* Venue */
.venue {
  background: var(--cream);
}

.venue > .container {
  padding-top: 88px;
  padding-bottom: 96px;
}

.venue-intro {
  font-size: 1.375rem;
  font-weight: 600;
}

.venue-section h3 {
  font-size: 2.25rem;
  color: var(--green);
  margin-bottom: 12px;
}

.venue-section p {
  margin-bottom: 8px;
}

.venue-list {
  margin-bottom: 18px;
}

.venue-list li {
  padding: 6px 0;
  border-top: 1px solid rgba(58, 35, 20, 0.22);
  font-weight: 600;
}

.venue-pills {
  font-weight: 800;
  color: var(--orange);
}

/* FAQ */
.faq {
  background: var(--paper);
  padding: 88px 0 96px;
}

.faq .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.faq-item {
  border-top: 3px solid var(--bark);
}

.faq-item:last-child {
  border-bottom: 3px solid var(--bark);
}

.faq-item summary {
  padding: 18px 0;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
}

.faq-item summary::after {
  content: '+';
  font-family: 'Caprasimo', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--orange);
}

.faq-item[open] summary::after {
  content: '\2013';
}

.faq-answer {
  padding: 0 40px 22px 0;
}

.faq-answer > * + * {
  margin-top: 12px;
}

.faq-answer a {
  color: var(--orange);
}

/* Arrival and departure times: plain lines under their day. */
.faq-answer .faq-times {
  margin-top: 6px;
  list-style: none;
}

.faq-answer .faq-times + * {
  margin-top: 18px;
}

/* Footer */
.footer {
  background: var(--bark);
  color: var(--paper);
}

.footer > .container {
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-closer {
  margin-bottom: 40px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 1000px) {
  .forward-group {
    width: calc((100% - var(--forward-gap)) / 2);
  }
}

@media (max-width: 900px) {
  :root {
    --ring: 9px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 32px;
  }

  .hero-content {
    padding-bottom: 32px;
  }

  .hero-media {
    --pw: min(calc(100vw - 48px), 480px);
    grid-column: 1;
    grid-row: 2;
    margin: 8px 0 48px;
  }

  .hero-river {
    --river-h: 36px;
    grid-row: 3;
  }
}

@media (max-width: 640px) {
  .forward-group {
    width: 100%;
  }

  .polaroids {
    max-width: 420px;
    margin: 0 auto 4px;
  }

  /* The mosaic in two columns: a wide photo, a thin pair, a wide photo with
     the sign over its foot, a tall pair, then a thin and a tall beside a
     double-height photo. */
  .mosaic {
    --gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 7fr 4fr 7fr);
    aspect-ratio: 5 / 7;
    border-radius: 18px;
  }

  .mosaic-tile:nth-child(1) { grid-area: 1 / 1 / span 1 / span 2; }
  .mosaic-tile:nth-child(9) { grid-area: 2 / 1; }
  .mosaic-tile:nth-child(5) { grid-area: 2 / 2; }
  .mosaic-tile:nth-child(2) { grid-area: 3 / 1 / span 1 / span 2; }
  .mosaic-tile:nth-child(6) { grid-area: 4 / 1; }
  .mosaic-tile:nth-child(7) { grid-area: 4 / 2; }
  .mosaic-tile:nth-child(3) { grid-area: 5 / 1; }
  .mosaic-tile:nth-child(8) { grid-area: 5 / 2 / span 2; }
  .mosaic-tile:nth-child(4) { grid-area: 6 / 1; }

  .mosaic-sign {
    grid-area: 3 / 1 / span 2 / span 2;
    width: 44cqi;
  }

  /* Bigger on phones: the fan (3 x 60% - 6 x 9% = 126%) runs past the screen
     edges; .forward clips it. */
  .polaroid {
    width: 60%;
    margin: 0 -9%;
  }

  .about,
  .faq {
    padding: 56px 0 64px;
  }

  .forward > .container,
  .values > .container,
  .schedule > .container,
  .venue > .container,
  .family-band section > .container {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .letter-paper {
    padding: 40px 22px;
    border-radius: 24px;
  }

  .agreement-card {
    padding: 26px;
  }
}
