/* Stained glass: three lancet windows and leaded quarries. */
:root {
  --te-radius: .5rem;
  --lead: color-mix(in srgb, var(--te-ink) 78%, transparent);
  --glassband: repeating-linear-gradient(90deg, var(--te-primary) 0 34px, var(--lead) 34px 36px, var(--te-accent) 36px 70px, var(--lead) 70px 72px, color-mix(in srgb, var(--te-primary) 40%, #e8b84a) 72px 106px, var(--lead) 106px 108px);
}
.te-nav { border-radius: .5rem; }
.te-nav-link { border-radius: .25rem; }
.te-btn, .te-btn-outline { border-radius: .25rem; }
.ca-hero { text-align: center; padding: 2rem 1.25rem 3.5rem; }
.ca-windows { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.5rem, 1.5vw, 1.25rem); height: clamp(22rem, 66vh, 42rem); max-width: 56rem; margin: 0 auto; }
.ca-lancet { position: relative; flex: 1 1 0; height: 86%; clip-path: url(#ca-arch); overflow: hidden; background: var(--lead); }
.ca-lancet:nth-child(2) { height: 100%; }
.ca-lancet > img, .ca-lancet > .te-photo-blank { position: absolute; top: 0; height: 100%; width: 300%; max-width: none; left: calc(var(--i) * -100%); object-fit: cover; object-position: 50% 18%; }
.ca-glass { position: absolute; inset: 0; background:
    repeating-linear-gradient(45deg, var(--lead) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(-45deg, var(--lead) 0 2px, transparent 2px 38px),
    linear-gradient(180deg, var(--te-accent), var(--te-primary) 45%, transparent 66%);
  -webkit-mask: linear-gradient(#000 40%, transparent 66%); mask: linear-gradient(#000 40%, transparent 66%); mix-blend-mode: hard-light; }
.ca-title { font-size: calc(var(--fit, 1) * clamp(2.75rem, 8.5vw, 6.5rem)); line-height: 1.02; margin-top: 2.25rem; color: var(--te-primary-text); font-weight: 400; overflow-wrap: break-word; }
.ca-sub { margin-top: 1rem; color: var(--te-muted); font-size: 1.125rem; }
.ca-label { margin-top: .5rem; font-weight: 600; }
.ca-copy .te-count { margin: 1.75rem auto; max-width: 26rem; }
.te-count-cell { border-radius: .25rem; }
.te-facts::before, .te-closing::after { content: ""; display: block; height: 16px; background: var(--glassband); margin-bottom: 2.5rem; }
.te-closing::after { margin: 2.5rem 0 0; }
.te-card { border: 1px solid var(--te-line); box-shadow: none; border-radius: .5rem; border-top: 5px solid var(--te-primary); }
.te-tile { background: var(--te-tint); border-radius: .5rem; border-top: 5px solid var(--te-primary); }
.te-tile-accent { background: var(--te-tint-accent); border-top-color: var(--te-accent); }
.te-h-section, .te-h-page { font-weight: 400; }
.te-page-head { border-radius: 16rem 16rem 0 0 / 6rem 6rem 0 0; padding-top: 5rem; }
.te-gallery-item { border-radius: 0 !important; clip-path: url(#ca-arch); aspect-ratio: 3/5; }
.te-field, .te-chip { border-radius: .25rem; }
.ca-glass { -webkit-mask: linear-gradient(#000 16%, transparent 34%); mask: linear-gradient(#000 16%, transparent 34%); }
.ca-lancet > img { object-position: 50% 0; top: 14%; height: 86%; }
/* Programme: an order of service with a centred rubric. */
.te-timeline { text-align: center; max-width: 36rem; margin-inline: auto; }
.te-timeline li > div:first-child { display: none; }
.te-timeline li { grid-template-columns: 1fr !important; }
.te-timeline .te-chip { background: none; color: var(--te-accent-text); }
.te-timeline .te-h-card { font-size: 1.375rem; font-weight: 400; }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
