/* index.html - the home page. Built on site.css. The chrome is left alone. */

/* OPENING: sentence panel left, the two-venue strip running off the right gutter. */
.open-block { padding-block: var(--gap) 0; }
.open-block + .block { padding-top: var(--gap); }
.open { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); padding-inline: var(--gut); }
.open__text { display: flex; flex-direction: column; justify-content: center; }
.open__act { margin: 0.15rem 0 0; }
.open__media { min-width: 0; display: grid; }
.strip { display: grid; grid-template-columns: minmax(0, 1fr); }
.shard { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.shard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shard figcaption {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: flex-start;
  gap: 0 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--panel);
  font-size: var(--fs-small);
  line-height: 1.4;
}
/* The note tucks straight under the Blossom caption. */
.note {
  width: fit-content;
  max-width: 22rem;
  margin: 0.4rem 0 0 auto;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: 1.4;
  transform: rotate(-1.6deg);
}
.note a { display: inline-block; padding-block: 0.4rem; }
@media (min-width: 56rem) {
  .open {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(1rem, 2.4vw, 2.5rem);
    padding-left: max(var(--gut), calc((100% - 82rem) / 2));
    padding-right: 0;
    align-items: stretch;
  }
  /* Severance runs the full height (its caption panel fills); Blossom sits over the note. */
  .strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
  }
  .strip .shard:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .strip .shard:nth-child(2) { grid-column: 2; grid-row: 1; }
  .note {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: auto;
    max-width: none;
    margin: 0.4rem var(--gut) 0 0.75rem;
  }
}

/* SHARED PIECES */
.lede { max-width: 50ch; font-size: 1.125rem; line-height: 1.5; margin-bottom: 1rem; }
.block__act { margin: 1rem 0 0; }
.offers .panel { display: flex; flex-direction: column; }
.offers__go { margin: auto 0 0; padding-top: 0.6rem; }
.handoff { margin-top: var(--gap); }

/* SECTION HEAD: heading and intro on an opaque panel, never on the cross-mark ground. */
.block__head > :last-child { margin-bottom: 0; }
.block__head + .rows { margin-top: var(--gap); }
@media (min-width: 56rem) {
  .block__head--wide {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 1.25rem;
    align-items: baseline;
  }
  .block__head--wide h2 { margin-bottom: 0; }
  .block__head--wide .lede { max-width: 62ch; }
}

/* FILLED FIGURE: the photo takes exactly the height left by the column beside it. */
.fig--fill .fig__box { position: relative; aspect-ratio: 4 / 3; }
.fig--fill .fig__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 56rem) {
  .fig--fill .fig__box { aspect-ratio: auto; flex: 1 1 auto; min-height: 18rem; }
}

/* HEAR THE PARTS: head panel and the two offers stack beside the picture, matched to its height. */
.learn__side { display: grid; gap: var(--gap); grid-template-rows: auto 1fr; min-width: 0; }

/* NUMBERED ROWS: one column set per list. */
.rows--call .row__body { --cols: minmax(0, 2.2fr) minmax(0, 1.1fr) minmax(0, 1.5fr); }
.rows--home .row__body { --cols: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 3fr); }
.rows--pair .row__body { --cols: minmax(0, 1.6fr) minmax(0, 3.2fr) minmax(0, 1.5fr); }

/* FIND YOUR SEAT: two entries, four labels in the same order in both. */
.seats { display: grid; gap: var(--gap); min-width: 0; }
.seat { background: var(--panel); padding: var(--pad); }
.seat__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.seat dl.facts { gap: 0.35rem 1.25rem; }
.seat dt::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.5rem;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 100% 0.125rem no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 0.125rem 100% no-repeat;
}
.seat__go { margin: 0.85rem 0 0; }
