/* Cover Story: a glossy magazine. Edge-to-edge masthead, cover lines, features with drop caps. */
:root { --te-radius: 0; --rule: 3px solid var(--te-ink); }

/* Chrome */
.te-nav-wrap { padding: 0; position: relative; }
.te-nav { max-width: none; border-radius: 0; box-shadow: none; background: var(--te-bg); border-bottom: 1px solid var(--te-ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.te-nav-brand { font-weight: 400; }
.te-nav-link { border-radius: 0; opacity: 1; }
.te-nav-link.is-active { background: none; color: var(--te-primary-text); box-shadow: inset 0 -2px 0 currentColor; }
.te-nav-sheet { background: var(--te-bg); }
.te-btn { border-radius: 0; background: var(--te-primary); color: var(--te-on-primary); box-shadow: none; font-weight: 600; }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); box-shadow: none; }
.te-btn-soft { background: var(--te-tint-strong); color: var(--te-primary-text); box-shadow: none; }
.te-btn-light { background: #fff; color: #14141c; box-shadow: none; }
.te-btn-outline { border-radius: 0; border: 1px solid var(--te-ink); }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
.te-field, .te-choice { border-radius: 0; }
.te-chip { border-radius: 0; background: none; padding: 0; color: var(--te-primary-text); font-size: .9375rem; font-weight: 600; }

/* The cover */
.cv-cover { position: relative; container-type: inline-size; isolation: isolate; overflow: hidden; aspect-ratio: 5 / 8; background: var(--te-primary); }
.cv-photo { position: absolute; inset: 7cqw 0 0; z-index: 0; }
.cv-photo > * { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
/* Solid colour behind the masthead so it reads on any photo. */
.cv-cover::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(12cqw + var(--mast, .5) * 24cqw); background: linear-gradient(var(--te-primary) 34%, transparent); }
.cv-mast { position: relative; z-index: 2; padding: 1.5cqw 2cqw 0; text-align: center; color: var(--te-on-primary); font-weight: 400; font-size: calc(var(--fit, 1) * clamp(3rem, 24cqw, 40rem)); line-height: .9; letter-spacing: -.02em; overflow-wrap: break-word; }
.cv-mast span { display: block; }
/* A copy of the portrait, revealed around the subject, slips in front of the masthead's lower edge. */
.cv-photo-front { z-index: 3; -webkit-mask: radial-gradient(ellipse 30cqw 24cqw at 50% calc(8cqw + var(--mast, .5) * 20.5cqw), #000 60%, transparent 100%); mask: radial-gradient(ellipse 30cqw 24cqw at 50% calc(8cqw + var(--mast, .5) * 20.5cqw), #000 60%, transparent 100%); }

/* Cover lines: solid tabs, so they stay legible over any photo. */
.cv-lines { position: absolute; z-index: 4; left: 0; bottom: 4cqw; display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; max-width: 74cqw; }
.cv-line { margin: 0; }
.cv-line span { padding: .2em .55em .2em 4cqw; line-height: 1.5; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cv-line-label span { background: var(--te-surface); color: var(--te-ink); font-family: var(--te-heading); font-size: clamp(1.0625rem, 4.6cqw, 1.75rem); }
.cv-line-sub span { background: var(--te-accent); color: var(--te-on-accent); font-size: clamp(.9375rem, 3.2cqw, 1.1875rem); font-weight: 500; }
.cv-line-date span { background: var(--te-primary); color: var(--te-on-primary); font-family: var(--te-heading); font-size: clamp(1.5rem, 7.2cqw, 3.25rem); }
.cv-line-venue span { background: var(--te-surface); color: var(--te-ink); font-size: clamp(.9375rem, 3cqw, 1.125rem); font-weight: 500; }
.cv-barcode { position: absolute; z-index: 4; right: 4cqw; bottom: 4cqw; width: clamp(3.25rem, 13cqw, 6rem); height: clamp(2.25rem, 8cqw, 3.75rem); outline: .3rem solid #fff; background: repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 3px, #111 3px 4px, #fff 4px 7px, #111 7px 8px, #fff 8px 10px); }

/* The one effect: light slides across the gloss once. */
.cv-cover::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.3) 50%, transparent 62%); transform: translateX(-120%); animation: cv-sheen 1.6s ease-out .5s both; }
@keyframes cv-sheen { to { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .cv-cover::after { animation: none; display: none; } }

.cv-side { display: grid; gap: 1.25rem; padding: 1.5rem 1.25rem .5rem; }
.cv-side .te-btn { width: 100%; }
.te-count { justify-content: stretch; gap: 0; border-top: var(--rule); }
.te-count-cell { max-width: none; padding: .75rem 0 .25rem; border-radius: 0; background: none !important; box-shadow: none !important; text-align: left; }
.te-count-num { font-size: clamp(2rem, 8vw, 3.25rem); font-weight: 400; color: var(--te-ink); }
.te-count-label { font-size: .8125rem; }
@media (min-width: 960px) {
    .cv-hero { display: grid; grid-template-columns: min(calc((100svh - 2.5rem) * .75), 58rem) minmax(15rem, 23rem); justify-content: center; align-items: end; gap: clamp(2rem, 5vw, 5rem); padding: 1.25rem; }
    .cv-cover { aspect-ratio: 3 / 4; box-shadow: 0 34px 60px -34px rgba(0,0,0,.55); }
    .cv-side { padding: 0 0 .5rem; }
    .te-count { flex-wrap: wrap; }
    .te-count-cell { flex: 0 0 50%; border-bottom: 1px solid var(--te-line); }
    .te-count-num { font-size: 4rem; }
}

/* Features */
.te-section-head, .te-facts-grid, .te-explore > div, .te-schedule > div { max-width: 72rem !important; }
.te-section-head { margin-inline: auto; text-align: left; }
.te-section-head > .te-h-section { display: flow-root; padding-top: .75rem; border-top: var(--rule); }
.te-section-sub { font-size: 1.0625rem; }
.te-h-section, .te-h-page { font-weight: 400; font-size: clamp(2.5rem, 8.5vw, 5.25rem); line-height: 1.04; letter-spacing: -.015em; }
.te-h-section::first-letter, .te-h-page::first-letter { float: left; margin: .04em .07em 0 0; font-size: 2em; line-height: .78; color: var(--te-primary-text); }
.te-h-card { font-weight: 400; font-size: 1.375rem; }
.te-page-head { max-width: 72rem; margin: 0 auto; padding-inline: 1.25rem; border-radius: 0; background: none; text-align: left; }
.te-page-head > div { max-width: none !important; margin: 0; }
.te-page-head .te-h-page { display: flow-root; font-size: clamp(3.25rem, 12vw, 8rem); }
.te-icon-tile { display: none; }
.te-card, .te-tile, .te-tile-accent { border: 0; border-radius: 0; background: none; box-shadow: none; }
a.te-card:hover { box-shadow: none; transform: none; }

/* When and where set as newspaper columns. */
.te-facts-grid { gap: 0 !important; border-top: var(--rule); }
.te-facts-grid > * { padding: 1.25rem 0 !important; border-bottom: 1px solid var(--te-line); }
.te-facts-grid .te-eyebrow { margin: 0 !important; color: var(--te-primary-text); font-weight: 600; }
.te-facts-grid .te-h-card { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; color: var(--te-ink); }
@media (min-width: 1024px) { .te-facts-grid > * { padding: 1.25rem 2rem !important; border-bottom: 0; border-left: 1px solid var(--te-line); } .te-facts-grid > :first-child { padding-left: 0 !important; border-left: 0; } }

/* Explore becomes the contents page. */
.te-explore .grid { gap: 0 !important; grid-template-columns: 1fr !important; }
.te-explore a.te-card { min-height: 4.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--te-line); }
.te-explore a.te-card > svg { display: none; }
.te-explore .te-h-card { font-size: clamp(1.75rem, 5vw, 3rem); line-height: 1.1; }
.te-explore a.te-card:hover .te-h-card { color: var(--te-primary-text); }
@media (min-width: 768px) { .te-explore a.te-card > span:nth-of-type(2) { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 2rem; } }

/* The story opens like a feature, with a dropped capital. */
.te-story .te-card { max-width: 72rem !important; padding: 2rem 0 0; border-top: var(--rule); }
.te-story .te-prose { font-size: 1.1875rem; }
.te-story .te-prose p:first-child::first-letter { float: left; margin: .06em .1em 0 0; font-family: var(--te-heading); font-size: 4.6em; line-height: .78; color: var(--te-primary-text); }
.te-prose p:first-child { display: flow-root; }
@media (min-width: 900px) { .te-story .te-card { display: grid; grid-template-columns: 14rem minmax(0, 46rem); column-gap: 2.5rem; align-items: start; } .te-story .te-card > .te-chip { grid-row: 1 / span 2; font-family: var(--te-heading); font-size: 1.5rem; font-weight: 400; } .te-story .te-card > :not(.te-chip) { grid-column: 2; margin-top: 0; } }

/* Programme: a two-column running order. */
.te-timeline { padding: 0 !important; }
.te-timeline li { grid-template-columns: 1fr !important; padding: 1.25rem 0 !important; border-top: 1px solid var(--te-ink); }
.te-timeline li > div:first-child { display: none; }
.te-timeline .te-chip { margin-bottom: .25rem; font-family: var(--te-heading); font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 400; line-height: 1.1; }
.te-timeline .te-h-card { font-size: 1.1875rem; font-family: var(--te-body); font-weight: 600; letter-spacing: 0; }
@media (min-width: 800px) { .te-timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

/* Gallery: a picture spread led by one big image. */
.te-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: clamp(9rem, 44vw, 15rem); gap: .5rem !important; max-width: 72rem !important; }
.te-gallery-item { aspect-ratio: auto; border-radius: 0 !important; }
.te-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.te-gallery-item img { object-position: 50% 18%; }
@media (min-width: 640px) { .te-gallery-grid { grid-template-columns: repeat(4, 1fr) !important; grid-auto-rows: clamp(9rem, 19vw, 15rem); } }

/* Closing: the back cover. */
.te-closing-panel { max-width: 72rem !important; border-radius: 0; background: var(--te-primary); color: var(--te-on-primary); text-align: left; }
.te-closing-panel * { color: inherit !important; }
.te-closing-panel .te-h-section::first-letter { color: inherit; }
.te-closing-panel .te-muted { margin-left: 0; }
.te-closing-panel .te-btn { background: var(--te-surface); color: var(--te-ink) !important; }
