/* Content sections below the hero. One centred column, generous air. */
.block {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--gutter);
  text-align: center;
}

/* Verse */
.verse-text { font-style: italic; font-size: 25px; line-height: 1.35; margin: 0; }
.verse-ref { font-family: var(--f-caps); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin: 12px 0 0; }

/* Invitation wording from the card */
.invitation { padding-top: 24px; }
.inv-hosts { font-family: var(--f-caps); font-size: 17px; margin: 0; letter-spacing: .02em; }
.inv-small { font-size: 16px; color: var(--muted); margin: 4px 0 0; }
.inv-line { white-space: pre-line; font-style: italic; margin: 22px 0 6px; }
.inv-name { font-size: clamp(46px, 13vw, 60px); margin: 4px 0; color: var(--ink); }
.inv-with { font-style: italic; color: var(--gold); margin: 0; }
.inv-name + .inv-hosts { margin-top: 10px; }

/* Countdown */
.count-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 26px; }
.count-grid div { display: flex; flex-direction: column; align-items: center; }
.count-grid b { font-family: var(--f-body); font-weight: 500; font-size: clamp(40px, 12vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.count-grid span { font-family: var(--f-caps); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.count-note { font-family: var(--f-script); font-size: 40px; margin: 20px 0 0; }

/* The Day — vertical timeline of the two events */
.timeline { list-style: none; margin: 34px 0 0; padding: 0; position: relative; text-align: left; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 66px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-icon {
  position: absolute; left: 0; top: 0; width: 47px; height: 47px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-soft);
}
.tl-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tl-time { font-family: var(--f-caps); font-size: 13px; letter-spacing: .2em; color: var(--gold); margin: 2px 0 0; }
.tl-name { font-family: var(--f-script); font-weight: 400; font-size: 40px; line-height: 1.05; margin: 2px 0 4px; }
.tl-place { font-family: var(--f-caps); font-size: 16px; margin: 0; }
.tl-addr { white-space: pre-line; font-size: 16px; color: var(--muted); margin: 2px 0 0; }
.tl-item .btn-row { justify-content: flex-start; margin-top: 14px; }
.tl-item .btn { min-height: 44px; padding: 0 16px; font-size: 11.5px; }

/* Calendar choice menu (a <details> popover) */
.cal { position: relative; }
.cal > summary { list-style: none; }
.cal > summary::-webkit-details-marker { display: none; }
.cal-menu {
  position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); min-width: 230px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px -18px rgba(30, 45, 30, .35); padding: 6px;
}
.cal-menu a, .cal-menu button {
  display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 14px;
  border: 0; background: none; border-radius: 10px; text-align: left; cursor: pointer;
  font-family: var(--f-body); font-size: 18px; color: var(--ink); text-decoration: none;
}
.cal-menu a:hover, .cal-menu button:hover { background: #eeece0; }

/* Venue gallery — swipeable, snaps per photo; edge padding hints at more */
.venue { padding-left: 0; padding-right: 0; max-width: none; }
.venue > p, .venue > h2 { padding: 0 var(--gutter); }
.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 28px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 10px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.gallery img {
  height: min(62vh, 440px); width: auto; max-width: 84vw; object-fit: cover; background: #e9e6d9;
  border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(30, 45, 30, .5);
}
.gallery-hint { font-family: var(--f-caps); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }

/* Help */
.help-body { white-space: pre-line; margin: 14px 0 0; }
.help-phone { font-family: var(--f-caps); font-size: 20px; letter-spacing: .08em; margin: 10px 0 0; }

/* Closing, framed by the bottom leaf sprays */
.closing {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px var(--gutter) max(140px, calc(env(safe-area-inset-bottom) + 120px));
  min-height: 60svh; display: flex; flex-direction: column; justify-content: center;
}
.closing .leaf-cl { left: 0; bottom: 0; width: min(36vw, 260px); transform-origin: 0 100%; animation: sway-b 10s ease-in-out infinite; }
.closing .leaf-cr { right: 0; bottom: 0; width: min(28vw, 190px); transform-origin: 100% 100%; animation: sway-a 12s ease-in-out infinite; }
.close-share { font-size: 40px; margin: 0; position: relative; z-index: 2; }
.close-from { font-size: 48px; margin: 4px 0 0; position: relative; z-index: 2; }
.close-names { font-family: var(--f-caps); letter-spacing: .25em; text-transform: uppercase; font-size: 14px; margin: 0; }
.close-date { font-family: var(--f-caps); letter-spacing: .3em; font-size: 12px; color: var(--muted); margin: 6px 0 0; }

/* Floating music toggle (bottom-right, thumb reach) */
.music-btn {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper-2); display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(20, 35, 25, .6);
}
.music-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.music-btn .slash { display: none; }
.music-btn[aria-pressed="false"] .slash { display: inline; }
.music-btn[aria-pressed="true"] svg { animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.08); } }

@media (min-width: 700px) { body { font-size: 20px; } .block { padding-top: 96px; padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .music-btn svg, .closing .leaf { animation: none !important; } }
