/* Crusade: a street poster pasted up for the big night. Stacked type, burst badge, thick diagonals. */
:root { --te-radius: 0; --cr-gut: clamp(.75rem, 3vw, 2.5rem); }

/* Chrome */
.te-nav-wrap { padding: 0; position: relative; }
.te-nav { max-width: none; border-radius: 0; box-shadow: none; background: var(--te-primary); --te-menu-text: var(--te-on-primary); backdrop-filter: none; -webkit-backdrop-filter: none; }
.te-nav-brand { font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.te-nav-link { border-radius: 0; opacity: 1; font-weight: 700; }
.te-nav-link.is-active { background: var(--te-on-primary); color: var(--te-primary); }
.te-nav-sheet { border-top: 2px solid var(--te-on-primary); }
.te-btn, .te-btn-outline { border-radius: 0; box-shadow: none; font-family: var(--te-heading); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.0625rem; transform: skewX(-8deg); }
.te-btn:hover, .te-btn-outline:hover { transform: skewX(-8deg) translateY(-2px); }
.te-btn { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn-soft { background: var(--te-surface); color: var(--te-ink); }
.te-btn-light { background: #fff; color: #14141c; }
.te-btn.te-btn-outline, .te-btn-outline { background: transparent; color: var(--te-primary-text); border: 2px solid var(--te-primary-text); }
.te-chip { border-radius: 0; background: var(--te-accent); color: var(--te-on-accent); font-weight: 700; }
.te-field, .te-choice { border-radius: 0; }
.te-field { border: 2px solid color-mix(in srgb, var(--te-ink) 40%, transparent); }

/* Hero: the poster */
.cr-hero { position: relative; overflow: hidden; display: grid; gap: clamp(1.25rem, 3vw, 2rem); padding: var(--cr-gut); padding-bottom: clamp(2rem, 4vw, 3rem); }
.cr-copy { position: relative; z-index: 1; min-width: 0; display: grid; justify-items: start; gap: .75rem; }
.cr-label { font-weight: 800; font-size: 1.125rem; color: var(--te-ink); }
.cr-title { width: 100%; container-type: inline-size; margin: 0; color: var(--te-primary-text); font-weight: 400; text-transform: uppercase; letter-spacing: 0; }
.cr-line { display: block; white-space: nowrap; line-height: 1.02; font-size: calc(var(--fit, 1) * clamp(14rem, 100cqw, 52rem)); overflow-wrap: break-word; }
.cr-sub { padding: .55rem 1.75rem .55rem .875rem; background: var(--te-accent); color: var(--te-on-accent); font-family: var(--te-heading); font-size: clamp(1.25rem, 3.4vw, 2rem); line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; clip-path: polygon(0 0, 100% 0, calc(100% - 1rem) 100%, 0 100%); }

.cr-stage { position: relative; display: grid; justify-items: center; padding-block: .5rem 3.5rem; }
.cr-stage::before { content: ""; position: absolute; inset: -3rem calc(-1 * var(--cr-gut) - 12rem); background: linear-gradient(-14deg, transparent 0 24%, var(--te-accent) 24% 46%, var(--te-primary) 46% 58%, transparent 58%); }
.cr-shape { position: relative; width: min(84%, 30rem); filter: drop-shadow(10px 10px 0 color-mix(in srgb, #000 42%, var(--te-bg))); }
.cr-shape > * { display: block; width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 16%; clip-path: polygon(16% 0, 84% 0, 100% 50%, 84% 100%, 16% 100%, 0 50%); }

.cr-burst { position: absolute; right: -.25rem; bottom: 0; display: grid; justify-items: center; align-content: center; width: clamp(11.5rem, 44vw, 17rem); aspect-ratio: 1; color: var(--te-on-accent); text-align: center; transform: rotate(-7deg); animation: cr-stamp .5s cubic-bezier(.2, 1.5, .4, 1) .2s backwards; }
.cr-burst-shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--te-accent); stroke: var(--te-primary); stroke-width: 3; }
.cr-burst-date, .cr-venue { position: relative; }
.cr-burst-date { display: grid; font-family: var(--te-heading); text-transform: uppercase; line-height: 1.12; }
.cr-weekday { font-size: clamp(1rem, 3.6vw, 1.5rem); }
.cr-day { font-size: clamp(3.75rem, 15vw, 6.25rem); line-height: 1.08; }
.cr-month { font-size: clamp(.9375rem, 3.4vw, 1.375rem); }
.cr-venue { width: 100%; margin-top: .375rem; padding: .25rem .5rem; background: var(--te-primary); color: var(--te-on-primary); font-weight: 800; font-size: clamp(.8125rem, 2.8vw, 1rem); line-height: 1.15; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@keyframes cr-stamp { from { opacity: 0; transform: rotate(-24deg) scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .cr-burst { animation: none; } }

.cr-foot { position: relative; display: grid; gap: 1rem; }
.cr-foot .te-count { justify-content: flex-start; gap: .25rem; }
.cr-cta, .cr-cta.te-btn { background: var(--te-primary); color: var(--te-on-primary); font-size: 1.375rem; min-height: 3.5rem; padding-inline: 2.25rem; justify-self: start; }

.te-count-cell { border-radius: 0; background: var(--te-surface) !important; box-shadow: none !important; max-width: none; border-top: 4px solid var(--te-primary); }
.te-count-num { color: var(--te-primary-text); font-weight: 400; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.15; }
.te-count-label { color: var(--te-ink); font-weight: 700; }

@media (min-width: 900px) {
  .cr-hero { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); grid-template-areas: "copy stage" "foot stage"; align-items: start; column-gap: clamp(1.5rem, 3vw, 3rem); }
  .cr-copy { grid-area: copy; }
  .cr-stage { grid-area: stage; align-self: center; }
  .cr-stage::before { inset: -9rem -8rem -9rem -3rem; background: linear-gradient(115deg, transparent 0 44%, var(--te-accent) 44% 66%, var(--te-primary) 66% 76%, transparent 76%); }
  .cr-title { width: min(100%, 86svh); }
  .cr-foot { grid-area: foot; grid-template-columns: minmax(20rem, 30rem) auto; align-items: stretch; justify-content: start; gap: 1.5rem; }
  .cr-cta, .cr-cta.te-btn { align-self: center; }
  .cr-shape { width: 100%; }
  .cr-burst { right: -1rem; }
}

/* Headings: yellow, huge, flush left */
.te-section-head { max-width: 80rem; text-align: left; }
.te-h-section, .te-h-page { font-weight: 400; font-size: clamp(2.75rem, 12vw, 6.5rem); line-height: 1.12; text-transform: uppercase; letter-spacing: 0; }
.te-h-card { font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.te-section-sub { color: inherit; font-weight: 600; }

/* Surfaces */
.te-card, .te-tile { border-radius: 0; box-shadow: none; background: var(--te-surface); border: 3px solid var(--te-primary); }
a.te-card:hover { transform: none; box-shadow: none; background: var(--te-accent); color: var(--te-on-accent); }
.te-icon-tile { border-radius: 0; background: var(--te-accent); color: var(--te-on-accent); }
.te-icon-tile-accent { background: var(--te-on-primary); color: var(--te-primary); }

/* Facts: three poster panels struck side by side */
.te-facts { padding: 0 !important; }
.te-facts-grid { max-width: none !important; gap: 0 !important; grid-template-columns: 1fr !important; }
.te-facts-grid > * { grid-column: auto !important; padding: clamp(1.75rem, 4vw, 3.25rem) var(--cr-gut) !important; border: 0; }
.te-facts-grid > :nth-child(1) { background: var(--te-primary); color: var(--te-on-primary); }
.te-facts-grid > :nth-child(2) { background: var(--te-accent); color: var(--te-on-accent); }
.te-facts-grid > :nth-child(3) { background: var(--te-surface); color: var(--te-ink); }
.te-facts-grid > * * { color: inherit !important; }
.te-facts-grid .te-eyebrow { font-weight: 800; font-size: 1rem; }
.te-facts-grid .te-h-card { font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.16; }
.te-facts-grid .te-icon-tile { display: none; }
.te-facts-grid a:not(.te-card) { min-height: 2.75rem; text-decoration: underline; font-weight: 800; }
.te-facts-grid a.te-card:hover { background: var(--te-primary); color: var(--te-on-primary); }
.te-facts-grid .te-i-sm { display: none; }
@media (min-width: 800px) {
  .te-facts-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .te-facts-grid > :nth-child(2) { clip-path: polygon(1.75rem 0, 100% 0, calc(100% - 1.75rem) 100%, 0 100%); padding-inline: calc(var(--cr-gut) + 1.75rem) !important; margin-inline: -.5rem; }
}

/* Explore: a yellow panel cut on the diagonal */
.te-explore { background: var(--te-primary); color: var(--te-on-primary); clip-path: polygon(0 2.75vw, 100% 0, 100% calc(100% - 2.75vw), 0 100%); margin-block: 1px; padding-block: clamp(4rem, 10vw, 7rem); }
.te-explore > div { max-width: 80rem !important; }
.te-explore .te-h-section { color: var(--te-on-primary); }
.te-explore .te-section-sub { color: var(--te-on-primary); }
.te-explore .grid { gap: .5rem !important; }
.te-explore a.te-card { border: 0; background: var(--te-bg); color: var(--te-ink); min-height: 7.5rem; padding: 1.25rem; }
.te-explore a.te-card .te-h-card { font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.16; color: var(--te-primary-text); }
.te-explore a.te-card > svg { display: none; }
.te-explore a.te-card:hover .te-primary, .te-explore a.te-card:hover .te-muted { color: inherit; }

/* Story */
.te-story > .te-card { max-width: 56rem !important; margin-left: max(0px, calc(50% - 40rem)); }
.te-story .te-prose { color: var(--te-ink); font-size: 1.1875rem; font-weight: 500; }
.te-story .te-chip { font-family: var(--te-heading); font-size: 1.25rem; font-weight: 400; text-transform: uppercase; }

/* Programme: a stack of bills, one strip per item */
.te-schedule > div:not(.te-section-head) { max-width: 82rem !important; }
.te-schedule > .te-section-head, #details > .te-section-head { max-width: 82.5rem; }
#details > section:not(#venue) > div { max-width: 80rem !important; }
#venue > .te-card { max-width: 48rem !important; margin-left: max(0px, calc(50% - 40rem)); }
.te-timeline { display: grid; gap: .375rem; background: none; border: 0; padding: 0 !important; }
.te-timeline li { grid-template-columns: 1fr !important; padding: 0 !important; background: var(--te-surface); clip-path: polygon(0 0, 100% 0, calc(100% - 1rem) 100%, 0 100%); }
.te-timeline li:nth-child(even) { background: var(--te-primary); color: var(--te-on-primary); }
.te-timeline li:nth-child(even) .te-muted, .te-timeline li:nth-child(even) .te-h-card { color: inherit; }
.te-timeline li > div:first-child { display: none; }
.te-timeline li > div:last-child { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 1rem; padding-right: 2rem; min-height: 4.75rem; align-items: center; }
.te-timeline .te-chip { grid-row: 1 / span 2; align-self: stretch; justify-content: center; margin: 0 !important; padding: .5rem .25rem; font-family: var(--te-heading); font-weight: 400; font-size: 1.375rem; text-transform: uppercase; }
.te-timeline .te-h-card { grid-column: 2; font-size: clamp(1.625rem, 4.5vw, 2.5rem); line-height: 1.16; padding-block: .625rem; }
.te-timeline .te-muted { grid-column: 2; margin: -.375rem 0 .75rem !important; font-weight: 600; }
@media (min-width: 800px) { .te-timeline li > div:last-child { grid-template-columns: 11rem minmax(0, 1fr); column-gap: 1.75rem; } .te-timeline .te-chip { font-size: 2rem; } }

/* Gallery: bills pasted slightly off square */
.te-gallery-grid { max-width: 80rem !important; gap: .25rem !important; }
.te-gallery-item { border-radius: 0 !important; border: 3px solid var(--te-primary); }
.te-gallery-item:nth-child(odd) { transform: rotate(-1.2deg); }
.te-gallery-item:nth-child(even) { transform: rotate(1deg); }

/* Inner pages and close */
.te-page-head { margin: 0; border-radius: 0; background: linear-gradient(-14deg, var(--te-accent) 0 12%, var(--te-primary) 12% 18%, transparent 18%); text-align: left; padding-inline: var(--cr-gut); }
.te-page-head .te-muted, .te-page-head p { color: var(--te-ink); }
.te-closing { padding: 0 !important; }
.te-closing-panel { max-width: none !important; border: 0; background: var(--te-accent); color: var(--te-on-accent); text-align: left; padding-inline: var(--cr-gut) !important; }
.te-closing-panel * { color: inherit !important; }
.te-closing-panel p { margin-inline: 0; font-weight: 700; }
.te-closing-panel .te-btn { background: var(--te-primary); color: var(--te-on-primary) !important; }

/* Footer poster strip */
footer.px-3 { padding: 0; }
footer > .te-bg-primary { max-width: none; border-radius: 0; }
footer > .te-bg-primary > .te-bg-accent { display: none; }
footer .te-h-lg { font-size: clamp(3rem, 12vw, 6.5rem); font-weight: 400; text-transform: uppercase; line-height: 1.12; }
footer nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
footer .te-dim { opacity: 1; }
.te-nav-sheet .te-nav-link, .te-nav .te-btn-sm { min-height: 2.75rem; }
