/* The introduction and invitation follow the scrolling story. */
.invitation-section { min-height: 0; gap: 72px; padding: 100px 48px 110px; }
.crossing-introduction { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 60px; width: min(100%, 900px); }
.crossing-photo { position: relative; margin: 0; overflow: hidden; background: var(--carbon); }
.crossing-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.crossing-photo figcaption { position: absolute; inset: auto 24px 22px; color: var(--salt); font: 10px/1.5 "GT America Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.crossing-eyebrow { margin-bottom: 24px; color: #76716a; font: 11px/1.5 "GT America Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.crossing-copy h3 { margin: 0; font-size: clamp(32px, 3.2vw, 43px); font-weight: 400; line-height: 1.14; letter-spacing: -.03em; }
.crossing-copy h3 span { color: #76716a; }
.crossing-copy > p:not(.crossing-eyebrow) { margin-top: 20px; font-size: 18px; line-height: 1.6; color: #625e57; text-wrap: pretty; }
.crossing-copy > p.crossing-lead { margin-top: 0; color: var(--carbon); font-size: 20px; line-height: 1.5; }
.invitation-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 13px; line-height: 1.5; color: #66615a; }
.ticket-stage { width: min(100%, 900px); perspective: 1400px; }
.invitation-card {
  --ticket-outline: inset(0 round 3px);
  --foil-x: 50%;
  --foil-y: 50%;
  --foil-light: 1;
  --foil-hue: 0deg;
  isolation: isolate;
  width: 100%;
  padding: 62px 68px 54px;
  border: 0;
  background: none;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 2px 1px rgb(77 62 44 / 24%)) drop-shadow(0 24px 20px rgb(77 62 44 / 14%));
}
.invitation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: #f2eee6 url("assets/images/ticket-paper.webp") center / cover;
  clip-path: var(--ticket-outline);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 75%);
  pointer-events: none;
}
.ticket-seal {
  position: absolute;
  right: 52px;
  top: 54px;
  width: 192px;
  height: 138px;
  padding: 24px 23px 17px;
  border: 1px solid rgb(85 87 85 / 28%);
  border-radius: 6px;
  background: #ccd0cd url("assets/images/ticket-foil.webp") var(--foil-x) var(--foil-y) / 180% 180%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 38%), 0 1px 2px rgb(38 36 30 / 12%);
  filter: brightness(var(--foil-light)) hue-rotate(var(--foil-hue));
  pointer-events: none;
}
.ticket-seal img { width: 103px; height: auto; opacity: .67; filter: drop-shadow(1px 1px 0 rgb(255 255 255 / 75%)); }
.ticket-seal span { display: block; margin-top: 11px; padding-top: 7px; border-top: 1px solid rgb(14 14 14 / 45%); font: 13px "GT America Mono", monospace; color: #454540; }
.invitation-card h3 { padding-right: 195px; }
.invitation-card .edition-label { margin-bottom: 27px; font-size: 13px; letter-spacing: .13em; }
.invitation-card .edition-title { font-size: clamp(38px, 4.3vw, 56px); line-height: 1.08; letter-spacing: -.025em; white-space: nowrap; }
.invitation-card .edition-location { font-size: 27px; margin-top: 9px; }
.invitation-card .invitation-rule { margin: 32px 0 24px; }
.invitation-card .invitation-description { max-width: 510px; font-size: 25px; line-height: 1.4; }
.ticket-details { margin: 0 0 24px; font: 400 15px/1.6 "GT America", Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.ticket-summary { margin: 0; max-width: 550px; text-wrap: pretty; }
.ticket-divider { color: #928a7f; margin: 0 5px; }
.ticket-secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; color: #66615a; font-size: 12px; }
.ticket-secondary > span[aria-hidden] { color: #a59e94; }
.ticket-status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ticket-status > span { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.invitation-card .invitation-note { max-width: none; font-size: 19px; margin: 18px 0 30px; color: #66615a; }
.invitation-cta-slot { min-height: 54px; }
.floating-cta.is-in-ticket { position: relative; inset: auto; transform: none !important; clip-path: none !important; z-index: 1; will-change: auto; }
.closing .closing-logo { width: clamp(150px, 15vw, 215px); margin-bottom: 24px; }
.closing .closing-apply { --cta-fill: #fbf8f8; --cta-size: 64px; min-width: 370px; margin-top: 30px; font-size: 13px; }
.closing-apply .cta-label { flex: 1; }
@media (max-width: 767px) {
  .invitation-section { padding: 56px 24px 84px; gap: 40px; }
  .crossing-introduction { grid-template-columns: 1fr; gap: 30px; max-width: 480px; }
  .crossing-photo img { aspect-ratio: 4 / 3; object-position: 50% 32%; }
  .crossing-photo figcaption { inset: auto 18px 16px; font-size: 9px; }
  .crossing-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .crossing-copy h3 { font-size: clamp(30px, 8.2vw, 39px); }
  .crossing-copy > p:not(.crossing-eyebrow) { margin-top: 18px; font-size: 17px; }
  .crossing-copy > p.crossing-lead { margin-top: 0; font-size: 19px; }
  .invitation-meta { gap: 6px 18px; margin-top: 20px; font-size: 12px; }
  .ticket-stage { max-width: 480px; perspective: 1000px; }
  .invitation-card { padding: 35px 26px 30px; filter: drop-shadow(0 2px 1px rgb(77 62 44 / 20%)) drop-shadow(0 14px 12px rgb(77 62 44 / 12%)); }
  .ticket-seal { position: relative; top: auto; right: auto; width: 112px; height: 80px; padding: 12px 14px 9px; margin-left: auto; margin-bottom: 27px; border-radius: 4px; }
  .ticket-seal img { width: 61px; }
  .ticket-seal span { margin-top: 6px; padding-top: 3px; font-size: 9px; }
  .invitation-card h3 { padding-right: 0; }
  .invitation-card .edition-label { position: absolute; top: 39px; left: 26px; max-width: 76px; line-height: 1.6; font-size: 10px; letter-spacing: .08em; margin: 0; }
  .invitation-card .edition-title { font-size: clamp(30px, 8.2vw, 39px); }
  .invitation-card .edition-location { font-size: 20px; margin-top: 8px; }
  .invitation-card .invitation-rule { margin: 25px 0 22px; }
  .invitation-card .invitation-description { font-size: 20px; line-height: 1.4; }
  .ticket-details { margin-bottom: 22px; font-size: 13px; line-height: 1.6; }
  .ticket-secondary { font-size: 10px; gap: 5px 7px; }
  .ticket-status { gap: 7px; }

  .invitation-card .invitation-note { font-size: 16px; line-height: 1.5; margin: 18px 0 27px; }
  .invitation-cta-slot { min-height: 52px; }
  .closing .closing-logo { width: 144px; margin-bottom: 18px; }
  .closing .closing-apply { --cta-size: 52px; min-width: 0; margin-top: 25px; font-size: 11px; }
}
@media (max-width: 359px) {
  .invitation-section { padding-inline: 20px; }
  .invitation-card { padding-inline: 20px; }
  .invitation-card .edition-label { left: 20px; }
  .invitation-card .edition-title { font-size: 30px; }
  .invitation-card .invitation-description { font-size: 19px; }
  .invitation-card .invitation-note { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .invitation-card { transform: none !important; }
  .ticket-seal { filter: none; background-position: 50% 50%; }
}
@media (forced-colors: active) {
  .invitation-card { background: Canvas; border: 1px solid CanvasText; filter: none; }
  .invitation-card::before { display: none; }
  .ticket-seal { background: Canvas; border: 1px solid CanvasText; filter: none; }
}
