/* Candlelight: a dark room, one flame. Light, not boxes, makes the sections. */
:root { --te-radius: 0; --cd-w: clamp(15rem, 60vw, 24rem); --cd-pool: radial-gradient(ellipse 72% 72% at 50% 50%, color-mix(in srgb, var(--te-accent) 15%, transparent), transparent 78%); }

/* Chrome */
.te-nav-wrap { padding: 0; position: relative; }
.te-nav { max-width: none; border-radius: 0; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.te-nav-brand { font-weight: 500; }
.te-nav-link { border-radius: 0; }
.te-nav-link.is-active { background: none; color: var(--te-accent-text); }
.te-nav-sheet { background: var(--te-bg); }
.te-btn, .te-btn-outline { border-radius: 999px; box-shadow: none; font-weight: 500; }
.te-btn { background: var(--te-accent); color: var(--te-on-accent); box-shadow: 0 0 28px -6px color-mix(in srgb, var(--te-accent) 70%, transparent); }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn-soft { background: color-mix(in srgb, var(--te-accent) 18%, transparent); color: var(--te-primary-text); box-shadow: none; }
.te-btn-light { background: var(--te-primary); color: var(--te-bg); }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); box-shadow: none; }
.te-btn:hover { transform: none; opacity: .9; }
.te-field, .te-choice { border-radius: 2px; }
.te-chip { border-radius: 0; background: none; padding: 0; font-size: .9375rem; color: var(--te-accent-text); }
footer.te-bg-primary { background: transparent; color: var(--te-ink); }

/* Hero */
.cd-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(1.75rem, 5vw, 3.5rem) 1.25rem clamp(3.5rem, 8vw, 6rem); text-align: center; }
.cd-glow { position: absolute; z-index: -1; left: 50%; top: calc(clamp(1.75rem, 5vw, 3.5rem) + var(--cd-w) * 1.25 - 3.4rem); width: min(170vw, 84rem); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--te-accent) 42%, transparent), color-mix(in srgb, var(--te-accent) 16%, transparent) 38%, color-mix(in srgb, var(--te-accent) 5%, transparent) 66%, transparent); animation: cd-breathe 3.6s ease-in-out infinite; }
.cd-stage { position: relative; width: var(--cd-w); margin-inline: auto; }
.cd-portrait { position: relative; -webkit-mask-image: radial-gradient(ellipse 66% 68% at 50% 44%, #000 56%, transparent 100%); mask-image: radial-gradient(ellipse 66% 68% at 50% 44%, #000 56%, transparent 100%); }
.cd-portrait img, .cd-portrait .te-photo-blank { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: sepia(.28) saturate(.9) brightness(.94); }
.cd-portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 62% at 50% 100%, color-mix(in srgb, var(--te-accent) 46%, transparent), transparent 76%); mix-blend-mode: soft-light; }
.cd-candle { position: relative; z-index: 1; display: block; width: clamp(4.25rem, 16vw, 5.5rem); height: auto; margin: -5rem auto 0; overflow: visible; }
.cd-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: cd-flicker 3.6s ease-in-out infinite; }
.cd-flame-outer { fill: var(--te-accent); opacity: .94; filter: blur(.6px); }
.cd-flame-core { fill: var(--te-primary); }
.cd-wick { stroke: #000; stroke-width: 2.2; stroke-linecap: round; }
.cd-wax { fill: color-mix(in srgb, var(--te-primary) 92%, var(--te-accent)); }
.cd-drip { fill: color-mix(in srgb, var(--te-primary) 86%, var(--te-accent)); }
.cd-plate { fill: color-mix(in srgb, var(--te-accent) 26%, var(--te-bg)); }
@keyframes cd-flicker {
  0%, 100% { transform: scale(1, 1); }
  18% { transform: scale(.975, 1.035) skewX(.6deg); }
  41% { transform: scale(1.02, .975) skewX(-.5deg); }
  63% { transform: scale(.985, 1.02); }
  82% { transform: scale(1.012, .985) skewX(.3deg); }
}
@keyframes cd-breathe { 0%, 100% { opacity: 1; } 41% { opacity: .9; } 63% { opacity: .97; } }
@media (prefers-reduced-motion: reduce) { .cd-flame, .cd-glow { animation: none; } }
.cd-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: .85rem; max-width: 46rem; margin: clamp(1.75rem, 5vw, 2.75rem) auto 0; }
.cd-label { color: var(--te-muted); font-size: 1.0625rem; }
.cd-title { font-size: calc(var(--fit, 1) * clamp(3.25rem, 12vw, 7.5rem)); font-weight: 400; line-height: 1.04; letter-spacing: -.012em; color: var(--te-primary-text); text-shadow: 0 0 46px color-mix(in srgb, var(--te-accent) 48%, transparent); overflow-wrap: break-word; }
.cd-sub { font-family: var(--te-heading); font-size: clamp(1.25rem, 3.8vw, 1.75rem); color: var(--te-accent-text); }
.cd-copy .te-count { width: min(100%, 24rem); margin-top: 1.25rem; }
.cd-copy .te-btn { margin-top: .85rem; }

/* Sections: each is a pool of light in the dark */
.te-card, .te-tile, .te-tile-accent { background: var(--cd-pool); border: 0; border-radius: 0; box-shadow: none; }
a.te-card:hover, a.te-tile:hover { transform: none; box-shadow: none; }
.te-icon-tile, .te-icon-tile-accent { display: none; }
.te-eyebrow.mt-4 { margin-top: 0; }
.te-eyebrow { color: var(--te-accent-text); font-size: .9375rem; }
.te-section-head { max-width: 40rem; }
.te-h-section, .te-h-page { font-weight: 400; font-size: clamp(2.25rem, 7.5vw, 3.75rem); text-shadow: 0 0 32px color-mix(in srgb, var(--te-accent) 40%, transparent); }
.te-h-card { font-weight: 500; font-size: 1.3125rem; }
.te-page-head { margin: 0; border-radius: 0; background: radial-gradient(ellipse 60% 90% at 50% 40%, color-mix(in srgb, var(--te-accent) 16%, transparent), transparent 78%); }
.te-page-head .te-chip { display: none; }
.te-facts-grid { max-width: 64rem !important; gap: .5rem !important; }
.te-facts-grid > * { text-align: center; padding: 2.75rem 1.5rem !important; align-items: center; }
.te-explore .grid { gap: 0 !important; }
.te-explore a.te-card { justify-content: center; text-align: center; padding: 2rem 1rem !important; min-height: 3rem; }
.te-explore a.te-card > svg { display: none; }
.te-story .te-card { max-width: 42rem !important; padding: clamp(2.5rem, 8vw, 4.5rem) clamp(1.25rem, 5vw, 3rem) !important; text-align: center; background: radial-gradient(ellipse 80% 76% at 50% 50%, color-mix(in srgb, var(--te-accent) 15%, transparent), transparent 80%); }

/* Programme: small embers, one after another, in the dark */
.te-schedule > div:not(.te-section-head) { max-width: 36rem !important; }
.te-timeline { background: none; padding: 0 !important; text-align: center; }
.te-timeline li { grid-template-columns: 1fr !important; padding: 0 0 2.75rem !important; }
.te-timeline li:last-child { padding-bottom: 0 !important; }
.te-timeline li > div:first-child { display: flex; align-items: center; margin-bottom: 1rem; }
.te-timeline li > div:first-child > :first-child { width: .4rem; height: .4rem; margin: 0; background: var(--te-accent); box-shadow: 0 0 14px 7px color-mix(in srgb, var(--te-accent) 42%, transparent); }
.te-timeline li > div:first-child > :last-child:not(:first-child) { display: none; }
.te-timeline .te-chip { font-family: var(--te-heading); font-size: 1.1875rem; margin-bottom: .2rem !important; }
.te-timeline .te-chip-accent { background: none; }
.te-timeline .te-h-card { font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 400; }

/* Gallery: each photograph only as far as the light reaches */
.te-gallery-item { border-radius: 0 !important; aspect-ratio: 4 / 5 !important; -webkit-mask-image: radial-gradient(ellipse 66% 68% at 50% 44%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 66% 68% at 50% 44%, #000 60%, transparent 100%); }
.te-gallery-item img { object-position: 50% 18%; filter: sepia(.22) brightness(.96); }
.te-closing-panel { background: radial-gradient(ellipse 60% 70% at 50% 50%, color-mix(in srgb, var(--te-accent) 18%, transparent), transparent 78%); }

.te-count { gap: 1.25rem; }
.te-count-cell { background: none !important; box-shadow: none !important; border-radius: 0; padding: 0; }
.te-count-num { font-weight: 400; }
