/* Foil Balloons: the title is a row of inflated mylar letters, every string tied off behind the photo. */
:root { --te-radius: 2.25rem; }
.te-site { --seal: rgba(255,255,255,.75); }

/* Chrome */
.te-nav { border-radius: 999px; border: 2px solid var(--seal); background: var(--te-menu-bg, color-mix(in srgb, var(--te-surface) 74%, transparent)); box-shadow: inset 0 2px 3px rgba(255,255,255,.85), 0 12px 22px -16px color-mix(in srgb, var(--te-primary) 70%, transparent); }
.te-nav-sheet { border-radius: 0 0 1.75rem 1.75rem; }
.te-nav-brand { font-weight: 700 !important; }
.te-nav-link { border-radius: 999px; font-weight: 700; }
.te-nav-link.is-active { background: var(--te-primary); color: var(--te-on-primary); }
.te-btn, .te-btn-outline { border-radius: 999px; font-family: var(--te-heading); font-weight: 700; font-size: 1.0625rem; }
.te-btn { background: linear-gradient(180deg, color-mix(in srgb, var(--te-primary) 80%, #fff) 0, var(--te-primary) 42%, color-mix(in srgb, var(--te-primary) 84%, #000) 100%); color: var(--te-on-primary); box-shadow: inset 0 2px 2px rgba(255,255,255,.55), inset 0 -3px 5px rgba(0,0,0,.18), 0 10px 18px -10px color-mix(in srgb, var(--te-primary) 75%, transparent); }
.te-btn-sm { font-size: .875rem; }
.te-btn-accent { background: linear-gradient(180deg, color-mix(in srgb, var(--te-accent) 72%, #fff) 0, var(--te-accent) 42%, color-mix(in srgb, var(--te-accent) 86%, #000) 100%); color: var(--te-on-accent); box-shadow: inset 0 2px 2px rgba(255,255,255,.65), inset 0 -3px 5px rgba(0,0,0,.14), 0 10px 18px -10px color-mix(in srgb, var(--te-accent) 80%, transparent); }
.te-btn-soft { background: linear-gradient(180deg, #fff, var(--te-tint-strong)); color: var(--te-primary-text); box-shadow: inset 0 2px 2px #fff, 0 8px 14px -10px color-mix(in srgb, var(--te-primary) 60%, transparent); }
.te-btn-light { background: linear-gradient(180deg, #fff, #f1eef0); color: #14141c; }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); box-shadow: none; border: 2px solid currentColor; }
.te-chip { border-radius: 999px; font-weight: 700; }
.te-field { border-radius: 1.25rem; }
.te-choice { border-radius: 1.25rem; }

/* Hero */
.bl-hero { padding: 1.5rem 1rem 2.5rem; }
.bl-sky { position: relative; isolation: isolate; display: grid; justify-items: center; }
.bl-label { font-family: var(--te-heading); font-weight: 700; font-size: clamp(1.25rem, 4.5vw, 1.75rem); color: var(--te-primary-text); margin-bottom: .25rem; text-align: center; }
h1.bl-title { --gap: 4.75rem; --lead: .95; font-weight: 800; font-size: calc(var(--fit, 1) * clamp(4rem, 20vw, 10.5rem)); line-height: var(--lead); letter-spacing: 0; text-align: center; overflow-wrap: break-word; margin-bottom: var(--gap); max-width: 100%; }
.bl-word { --f: var(--te-primary); --deep: color-mix(in srgb, var(--f) 56%, #000); --mid: color-mix(in srgb, var(--f) 80%, #000); --hi: color-mix(in srgb, var(--f) 26%, #fff); --glow: color-mix(in srgb, var(--f) 62%, #fff); display: flex; flex-wrap: wrap; justify-content: center; }
.bl-word:nth-child(even) { --f: var(--te-accent); }
.bl-l { position: relative; display: block; }
/* The string: leaves the letter's neck and aims at the top-centre of the photo. */
.bl-l::before { --dx: calc(var(--x) * 1em); --dy: calc(var(--b) * var(--lead) * 1em + var(--gap) + .3em); content: ""; position: absolute; z-index: -1; left: 50%; top: 84%; width: 1.5px; height: hypot(var(--dx), var(--dy)); background: color-mix(in srgb, var(--te-ink) 42%, transparent); transform-origin: top center; transform: rotate(atan2(var(--dx), var(--dy))); }
.bl-g { position: relative; display: block; rotate: var(--r, 0deg); filter: drop-shadow(0 .025em 0 rgba(255,255,255,.6)) drop-shadow(0 .07em .08em color-mix(in srgb, var(--f) 55%, rgba(0,0,0,.45))); animation: bl-bob 6s ease-in-out calc(var(--i) * -.5s) infinite; }
@keyframes bl-bob { 50% { translate: 0 -.055em; } }
.bl-f { display: block; padding: .06em .03em; margin: -.06em -.03em; background: linear-gradient(162deg, var(--deep) 3%, var(--f) 20%, var(--hi) 33%, var(--f) 45%, var(--deep) 63%, var(--glow) 78%, var(--mid) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: .012em rgba(255,255,255,.55); }
.bl-g::after { content: attr(data-l); position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 34% 16% at 34% 26%, rgba(255,255,255,.95), transparent 72%), radial-gradient(ellipse 13% 26% at 74% 60%, rgba(255,255,255,.62), transparent 74%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.bl-photo { position: relative; z-index: 3; width: min(100%, 25rem); padding: .625rem; border-radius: 2.25rem; background: linear-gradient(155deg, color-mix(in srgb, var(--te-accent) 60%, #fff), var(--te-accent) 28%, color-mix(in srgb, var(--te-accent) 28%, #fff) 48%, color-mix(in srgb, var(--te-accent) 82%, #000) 74%, color-mix(in srgb, var(--te-accent) 52%, #fff)); box-shadow: inset 0 2px 3px rgba(255,255,255,.8), 0 22px 34px -22px color-mix(in srgb, var(--te-primary) 70%, #000); }
.bl-photo > * { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 1.75rem; object-fit: cover; object-position: 50% 16%; }
.bl-info { display: grid; justify-items: center; gap: 1.125rem; max-width: 32rem; margin: 1.75rem auto 0; text-align: center; }
.bl-sub { font-family: var(--te-heading); font-weight: 600; font-size: clamp(1.375rem, 5vw, 1.875rem); line-height: 1.2; color: var(--te-primary-text); }
.bl-when { font-weight: 800; font-size: 1.0625rem; }
.bl-where { display: block; font-weight: 600; color: var(--te-muted); }
.bl-info .te-count { width: 100%; align-items: flex-start; }

/* Countdown: four small round balloons */
.te-count-cell { --f: var(--te-primary); position: relative; display: flex; flex-direction: column; justify-content: center; aspect-ratio: .94; padding: 0 .1rem; border-radius: 50% 50% 47% 47%; background: radial-gradient(90% 70% at 30% 20%, #fff, transparent 54%), linear-gradient(150deg, color-mix(in srgb, var(--f) 16%, #fff), color-mix(in srgb, var(--f) 38%, #fff)) !important; box-shadow: inset 0 -.4rem .7rem color-mix(in srgb, var(--f) 26%, transparent), 0 .6rem 1rem -.6rem color-mix(in srgb, var(--f) 75%, transparent) !important; }
.te-count-cell:nth-of-type(even) { --f: var(--te-accent); }
.te-count-cell::after { content: ""; position: absolute; left: 50%; bottom: -.3rem; width: .55rem; height: .4rem; transform: translateX(-50%); background: color-mix(in srgb, var(--f) 72%, #000); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.te-count-num { font-weight: 800; color: var(--te-ink); font-size: clamp(1.5rem, 6vw, 2.125rem); }
.te-count-label { margin-top: .05rem; color: var(--te-ink); font-weight: 700; }

/* Foil pillows */
.te-tile, .te-card { --f: var(--te-primary); position: relative; border: 2px solid var(--seal); border-radius: var(--te-radius); background: radial-gradient(120% 80% at 18% 6%, rgba(255,255,255,.95), transparent 46%), linear-gradient(150deg, color-mix(in srgb, var(--f) 12%, #fff), color-mix(in srgb, var(--f) 30%, #fff) 56%, color-mix(in srgb, var(--f) 16%, #fff)); box-shadow: inset 0 -.75rem 1.25rem color-mix(in srgb, var(--f) 20%, transparent), inset 0 .25rem .4rem rgba(255,255,255,.9), 0 1.1rem 1.6rem -1.1rem color-mix(in srgb, var(--f) 70%, #000); }
.te-tile-accent { --f: var(--te-accent); }
.te-tile::after, .te-card::after { content: ""; position: absolute; inset: .4rem; border: 1.5px dashed rgba(255,255,255,.8); border-radius: calc(var(--te-radius) - .4rem); pointer-events: none; }
ol.te-card::after { display: none; }
a.te-card:hover, a.te-tile:hover { transform: translateY(-4px); }
.te-icon-tile { border-radius: 50%; background: linear-gradient(160deg, color-mix(in srgb, var(--f) 70%, #fff), var(--f)); color: var(--te-on-primary); box-shadow: inset 0 2px 2px rgba(255,255,255,.6); }
.te-tile-accent .te-icon-tile, .te-explore a.te-card:nth-child(even) .te-icon-tile { color: var(--te-on-accent); }
.te-h-card { font-weight: 700; font-size: 1.3125rem; }
.te-h-section, .te-h-page { display: inline-block; font-weight: 800; font-size: clamp(2.75rem, 11vw, 4.75rem); line-height: 1; background: linear-gradient(165deg, color-mix(in srgb, var(--te-primary) 62%, #000), var(--te-primary) 32%, color-mix(in srgb, var(--te-primary) 72%, #fff) 48%, var(--te-primary) 62%, color-mix(in srgb, var(--te-primary) 66%, #000)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; rotate: -1.5deg; padding-bottom: .1em; }
.te-section-head { max-width: 64rem; text-align: left; }
.te-explore a.te-card > svg, .te-facts-grid a > span > svg, .te-story a svg { display: none; }
.te-facts-grid { max-width: 62rem !important; gap: 1.25rem !important; }
.te-facts-grid > :nth-child(1) { rotate: -1.25deg; }
.te-facts-grid > :nth-child(2) { rotate: 1deg; }
.te-facts-grid > :nth-child(3) { rotate: -.5deg; }
.te-explore > div { max-width: 62rem !important; }
.te-explore .grid { gap: 1rem !important; }
.te-explore a.te-card:nth-child(even) { --f: var(--te-accent); rotate: .75deg; }
.te-explore a.te-card:nth-child(odd) { rotate: -.75deg; }
@media (min-width: 900px) { .te-facts-grid > :nth-child(2) { translate: 0 1.25rem; } .te-explore a.te-card:nth-child(even) { translate: 0 1rem; } }
.te-page-head { --f: var(--te-accent); border-radius: 2.5rem; background: radial-gradient(120% 90% at 18% 6%, rgba(255,255,255,.9), transparent 46%), linear-gradient(150deg, color-mix(in srgb, var(--f) 18%, #fff), color-mix(in srgb, var(--f) 40%, #fff)); }
.te-closing-panel { --f: var(--te-accent); }

/* Programme: one long string, each act tied on either side of it */
.te-schedule > div { max-width: 62rem !important; }
ol.te-card.te-timeline { position: relative; padding: 0 0 0 1.75rem !important; background: none; border: 0; box-shadow: none; }
.te-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: .5rem; width: 2px; background: color-mix(in srgb, var(--te-ink) 38%, transparent); }
.te-timeline li { --f: var(--te-primary); grid-template-columns: 1fr !important; margin-bottom: 1rem; padding: 1.125rem 1.375rem !important; border: 2px solid var(--seal); border-radius: 1.75rem; background: radial-gradient(120% 80% at 16% 6%, rgba(255,255,255,.95), transparent 48%), linear-gradient(150deg, color-mix(in srgb, var(--f) 12%, #fff), color-mix(in srgb, var(--f) 30%, #fff)); box-shadow: inset 0 -.5rem 1rem color-mix(in srgb, var(--f) 20%, transparent), 0 .9rem 1.4rem -1rem color-mix(in srgb, var(--f) 70%, #000); }
.te-timeline li:nth-child(even) { --f: var(--te-accent); }
.te-timeline li:last-child { margin-bottom: 0; }
.te-timeline li > div:first-child { display: none; }
.te-timeline li::before { content: ""; position: absolute; top: 1.625rem; left: -1.5rem; width: 1.5rem; height: 2px; background: color-mix(in srgb, var(--te-ink) 38%, transparent); }
.te-timeline .te-chip { background: var(--f); color: var(--te-on-primary); font-family: var(--te-heading); font-size: .9375rem; }
.te-timeline li:nth-child(even) .te-chip { color: var(--te-on-accent); }
@media (min-width: 800px) {
  ol.te-card.te-timeline { padding: 0 !important; }
  .te-timeline::before { left: calc(50% - 1px); }
  .te-timeline li { width: calc(50% - 2rem); margin-bottom: 0; }
  .te-timeline li + li { margin-top: -1.5rem; }
  .te-timeline li:nth-child(even) { margin-left: auto; }
  .te-timeline li:nth-child(odd)::before { left: auto; right: -2rem; width: 2rem; }
  .te-timeline li:nth-child(even)::before { left: -2rem; width: 2rem; }
}

/* Gallery: round balloons */
.te-gallery-grid { max-width: 56rem !important; gap: 1rem !important; }
.te-gallery-item { aspect-ratio: .9 !important; padding: .3125rem; border-radius: 50% 50% 47% 47% !important; background: linear-gradient(155deg, color-mix(in srgb, var(--te-accent) 50%, #fff), var(--te-accent), color-mix(in srgb, var(--te-accent) 80%, #000)); }
.te-gallery-item img { border-radius: inherit; object-position: 50% 18%; }
.te-gallery-item:nth-child(even) { translate: 0 .75rem; background: linear-gradient(155deg, color-mix(in srgb, var(--te-primary) 50%, #fff), var(--te-primary), color-mix(in srgb, var(--te-primary) 80%, #000)); }
footer .te-bg-primary { border-radius: 2.5rem !important; box-shadow: inset 0 3px 4px rgba(255,255,255,.4), inset 0 -1rem 1.75rem rgba(0,0,0,.14); }
footer .te-bg-accent { display: none; }

@media (prefers-reduced-motion: reduce) { .bl-g { animation: none; } }
