/* Palm Frond: huge drawn leaves grow in from the corners and hold the portrait. */
:root {
    --te-radius: 0;
    --deep: var(--te-primary);
    --fresh: color-mix(in srgb, var(--te-primary) 58%, var(--te-surface));
    --leaf-shape: 0 2.75rem 0 2.75rem;
    --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44'%3E%3Cpath d='M9.6 22Q10.9 26.7 15 30.8Q13.2 25.3 9.6 22ZM16.5 22Q18.5 27.6 23.6 32.6Q21 25.9 16.5 22ZM23.5 22Q26 28.3 32 33.8Q28.7 26.3 23.5 22ZM30.4 22Q33.4 28.7 40.2 34.5Q36.2 26.5 30.4 22ZM37.4 22Q40.8 28.9 48.1 34.8Q43.6 26.6 37.4 22ZM44.3 22Q48.1 29 55.9 34.8Q50.9 26.5 44.3 22ZM51.3 22Q55.4 29 63.5 34.5Q58.1 26.3 51.3 22ZM58.2 22Q62.6 28.8 70.8 34Q65.2 26 58.2 22ZM65.2 22Q69.7 28.5 77.9 33.3Q72.1 25.7 65.2 22ZM72.1 22Q76.7 28.1 84.8 32.4Q78.9 25.3 72.1 22ZM79 22Q83.5 27.6 91.4 31.3Q85.6 24.8 79 22ZM86 22Q90.3 27 97.6 30.2Q92.2 24.3 86 22ZM92.9 22Q96.9 26.4 103.6 28.9Q98.6 23.8 92.9 22ZM99.9 22Q103.4 25.7 109.2 27.6Q104.8 23.3 99.9 22ZM106.8 22Q109.6 24.9 114.3 26.1Q110.8 22.8 106.8 22ZM113.8 22Q115.4 23.8 118.3 24.3Q116.2 22.2 113.8 22ZM9.6 22Q13.2 18.7 15 13.2Q10.9 17.3 9.6 22ZM16.5 22Q21 18.1 23.6 11.4Q18.5 16.4 16.5 22ZM23.5 22Q28.7 17.7 32 10.2Q26 15.7 23.5 22ZM30.4 22Q36.2 17.5 40.2 9.5Q33.4 15.3 30.4 22ZM37.4 22Q43.6 17.4 48.1 9.2Q40.8 15.1 37.4 22ZM44.3 22Q50.9 17.5 55.9 9.2Q48.1 15 44.3 22ZM51.3 22Q58.1 17.7 63.5 9.5Q55.4 15 51.3 22ZM58.2 22Q65.2 18 70.8 10Q62.6 15.2 58.2 22ZM65.2 22Q72.1 18.3 77.9 10.7Q69.7 15.5 65.2 22ZM72.1 22Q78.9 18.7 84.8 11.6Q76.7 15.9 72.1 22ZM79 22Q85.6 19.2 91.4 12.7Q83.5 16.4 79 22ZM86 22Q92.2 19.7 97.6 13.8Q90.3 17 86 22ZM92.9 22Q98.6 20.2 103.6 15.1Q96.9 17.6 92.9 22ZM99.9 22Q104.8 20.7 109.2 16.4Q103.4 18.3 99.9 22ZM106.8 22Q110.8 21.2 114.3 17.9Q109.6 19.1 106.8 22ZM113.8 22Q116.2 21.8 118.3 19.7Q115.4 20.2 113.8 22ZM2 21.3H118V22.7H2Z'/%3E%3C/svg%3E");
    --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cpath d='M1 10C8 1 20 1 27 10 20 19 8 19 1 10z'/%3E%3C/svg%3E");
}

/* Chrome: leaf-cut corners on everything you can press. */
.te-nav-wrap { padding: .75rem .75rem 0; position: relative; z-index: 5; }
.te-nav { border-radius: 0 1.5rem 0 1.5rem; }
.te-nav-brand { font-weight: 400; }
.te-nav-link { border-radius: 0 .75rem 0 .75rem; }
.te-nav-link.is-active { background: var(--te-tint-strong); }
.te-btn { border-radius: 0 1.125rem 0 1.125rem; background: var(--te-primary); color: var(--te-on-primary); box-shadow: none; font-weight: 700; }
.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 1.125rem 0 1.125rem; }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
.te-field, .te-choice { border-radius: 0 .875rem 0 .875rem; }
.te-chip { border-radius: 0 .625rem 0 .625rem; }

/* Hero */
.fr-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -4.75rem; padding: 6.75rem 1.25rem clamp(9.5rem, 22vw, 13rem); }
.fr-defs { position: absolute; }
.fr-deep { fill: var(--deep); }
.fr-fresh { fill: var(--fresh); }
.fr-corner { position: absolute; z-index: -1; width: clamp(15rem, 62vw, 50rem); height: auto; overflow: visible; pointer-events: none; animation: fr-sway 9s ease-in-out infinite alternate; }
.fr-tl { top: 0; left: 0; transform-origin: 0 0; }
.fr-tr { top: 0; right: 0; transform-origin: 100% 0; animation-delay: -3s; }
.fr-bl { bottom: 0; left: 0; width: clamp(11rem, 40vw, 27rem); transform-origin: 0 100%; animation-delay: -5s; }
.fr-br { bottom: 0; right: 0; width: clamp(11rem, 40vw, 27rem); transform-origin: 100% 100%; animation-delay: -7s; }
@keyframes fr-sway { from { rotate: -1.1deg; } to { rotate: 1.1deg; } }
@media (prefers-reduced-motion: reduce) { .fr-corner { animation: none; } }

.fr-body { display: grid; justify-items: center; gap: 1.5rem; max-width: 72rem; margin-inline: auto; text-align: center; }
.fr-portrait { position: relative; width: min(66vw, 27rem); }
.fr-image { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0 5rem 0 5rem; background: var(--te-tint); }
.fr-image > * { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
/* Two fronds cross the bottom of the portrait only, well clear of faces. */
.fr-tuck { position: absolute; bottom: -9%; width: 62%; height: auto; overflow: visible; pointer-events: none; }
.fr-tuck-l { left: -24%; }
.fr-tuck-r { right: -24%; }

.fr-copy { position: relative; max-width: 36rem; }
.fr-label { font-size: 1.125rem; font-weight: 700; color: var(--te-accent-text); }
.fr-title { margin-top: .25rem; font-size: calc(var(--fit, 1) * clamp(3.25rem, 13vw, 7.5rem)); line-height: 1; font-weight: 400; color: var(--te-primary-text); overflow-wrap: break-word; }
.fr-sub { margin-top: .75rem; font-size: 1.1875rem; color: var(--te-muted); }
.fr-date { margin-top: .75rem; font-weight: 700; }
.fr-copy .te-count { margin-top: 1.5rem; }
.fr-cta { margin-top: 1.5rem; }
.te-count-cell { border-radius: 0 1.25rem 0 1.25rem; background: var(--te-tint) !important; box-shadow: none !important; }
.te-count-num { font-weight: 400; }

/* A single leaf between sections. */
.te-section-head::before, .te-closing::before { content: ""; display: block; width: 7.5rem; height: 2.75rem; margin: 0 auto 1rem; background: var(--te-primary-text); -webkit-mask: var(--leaf) 50% 50% / contain no-repeat; mask: var(--leaf) 50% 50% / contain no-repeat; }
.te-closing::before { margin-bottom: 1.5rem; }
.te-h-section, .te-h-page { font-weight: 400; font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1.08; }
.te-h-card { font-weight: 400; font-size: 1.3125rem; }
.te-icon-tile { display: none; }
.te-page-head { margin: 0; border-radius: 0 0 0 6rem; background: var(--te-tint); }

/* Tiles cut like leaf blades. */
.te-card, .te-tile { border: 0; border-radius: var(--leaf-shape); background: var(--te-tint); box-shadow: none; }
.te-tile-accent { background: var(--te-primary); color: var(--te-on-primary); }
.te-tile-accent .te-primary, .te-tile-accent .te-muted, .te-tile-accent .te-accent, .te-tile-accent .te-eyebrow { color: inherit; }
a.te-card:hover { box-shadow: none; background: var(--te-tint-strong); }
.te-eyebrow { margin: 0 !important; font-weight: 700; }
.te-explore a.te-card > svg { display: none; }
.te-facts-grid > :nth-child(2) { border-radius: 2.75rem 0 2.75rem 0; }
.te-explore a.te-card:nth-child(even) { border-radius: 2.75rem 0 2.75rem 0; }

/* Programme: a single stem, each moment growing off it on alternate sides. */
.te-schedule > div { max-width: 58rem !important; }
.te-timeline { padding: 0 !important; background: none; border-radius: 0; }
.te-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: .8125rem; width: 2px; background: var(--te-primary); }
.te-timeline li { grid-template-columns: 1fr !important; padding: 0 0 2rem 3.25rem !important; }
.te-timeline li:last-child { padding-bottom: 0 !important; }
.te-timeline li > div:first-child { position: absolute; top: .375rem; left: 0; display: block; width: 1.75rem; height: 1.25rem; background: var(--fresh); -webkit-mask: var(--sprig) 50% 50% / contain no-repeat; mask: var(--sprig) 50% 50% / contain no-repeat; }
.te-timeline li > div:first-child > * { display: none; }
.te-timeline .te-chip { background: none; padding: 0; color: var(--te-accent-text); font-weight: 700; font-size: 1rem; }
.te-timeline .te-h-card { font-size: 1.625rem; color: var(--te-primary-text); }
@media (min-width: 800px) {
    .te-timeline::before { left: 50%; transform: translateX(-1px); }
    .te-timeline li { width: 50%; padding: 0 0 2.5rem 3rem !important; margin-left: 50%; }
    .te-timeline li > div:first-child { left: -.875rem; }
    .te-timeline li:nth-child(odd) { margin-left: 0; padding: 0 3rem 2.5rem 0 !important; text-align: right; }
    .te-timeline li:nth-child(odd) > div:first-child { left: auto; right: -.875rem; transform: scaleX(-1); }
}

/* Gallery: photos cut to the same leaf blade. */
.te-gallery-grid { max-width: 64rem !important; }
.te-gallery-item { border-radius: 0 3rem 0 3rem !important; }
.te-gallery-item:nth-child(even) { border-radius: 3rem 0 3rem 0 !important; }
.te-gallery-item img { object-position: 50% 16%; }

.te-closing-panel { background: var(--te-primary); color: var(--te-on-primary); border-radius: 0 5rem 0 5rem; }
.te-closing-panel * { color: inherit !important; }
.te-closing-panel .te-btn { background: var(--te-accent); color: var(--te-on-accent) !important; }
