/* ——— Things of Know Before You Go ——— */
/* Fluid layout tuned at --layout-ref-w (798px). */

.things-to-know {
  position: relative;
  width: 100%;
  container-type: inline-size;
}

.things-to-know__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: var(--asset-things-to-know-bg) center / 100% 100% no-repeat;
}

.things-to-know__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:
    calc(8 * 100cqw / var(--layout-ref-w))
    calc(40 * 100cqw / var(--layout-ref-w))
    calc(44 * 100cqw / var(--layout-ref-w));
  box-sizing: border-box;
}

.things-to-know__stack {
  position: relative;
  width: 68%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title only — stamp frame comes from section background */
.things-to-know__stamp {
  position: relative;
  z-index: 2;
  width: 46%;
  margin:
    calc(-6 * 100cqw / var(--layout-ref-w))
    0
    0;
  padding:
    calc(22 * 100cqw / var(--layout-ref-w))
    calc(14 * 100cqw / var(--layout-ref-w))
    calc(16 * 100cqw / var(--layout-ref-w));
  box-sizing: border-box;
  background: none;
  background-color: transparent;
  background-image: none;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: calc(22 * 100cqw / var(--layout-ref-w));
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
  text-align: center;
}

.things-to-know__stamp em {
  font-style: italic;
}

.things-to-know__paper {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: calc(28 * 100cqw / var(--layout-ref-w)) 0 0;
  padding:
    calc(18 * 100cqw / var(--layout-ref-w))
    calc(16 * 100cqw / var(--layout-ref-w));
  box-sizing: border-box;
  border: none;
  border-radius: 0.25rem;
  background:
    var(--asset-things-to-know-paper) center / cover no-repeat;
  box-shadow: 0 8px 24px rgba(30, 42, 58, 0.08);
  color: var(--color-ink);
  text-align: center;
}

.things-to-know__lead {
  margin: 0 0 calc(18 * 100cqw / var(--layout-ref-w));
  font-family: var(--font-sans);
  font-size: calc(12.5 * 100cqw / var(--layout-ref-w));
  font-weight: 400;
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.things-to-know__days {
  margin: 0;
  font-family: var(--font-sans);
  font-size: calc(12.5 * 100cqw / var(--layout-ref-w));
  font-weight: 400;
  line-height: 1.55;
}

.things-to-know__days p {
  margin: 0 0 calc(14 * 100cqw / var(--layout-ref-w));
}

.things-to-know__days p:last-child {
  margin-bottom: 0;
}

.things-to-know__days strong {
  font-family: var(--font-sans-bold);
  font-weight: 400;
}

.things-to-know__days em {
  font-style: italic;
}

@media (max-width: 1023px) {
  .things-to-know__bg {
    background-image: var(--asset-things-to-know-bg-mobile);
    background-position: center;
    background-size: 100% 100%;
  }

  .things-to-know__inner {
    padding: 0 1.15rem 2.85rem;
  }

  .things-to-know__stack {
    width: 100%;
    max-width: 24.5rem;
  }

  .things-to-know__stamp {
    width: 78%;
    margin-top: -1.75rem;
    margin-bottom: 0;
    padding: 1.85rem 0.75rem 0.75rem;
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
  }

  .things-to-know__paper {
    margin-top: 1.5rem;
    padding: 1.125rem 1rem;
  }

  .things-to-know__lead,
  .things-to-know__days {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .things-to-know__lead {
    margin-bottom: 1.1rem;
  }

  .things-to-know__days p {
    margin-bottom: 0.95rem;
  }
}
