/* Third Mainland: long-exposure light trails over the lagoon. Wide type, dark sky. */
:root { --te-radius: 1.25rem; }
.te-site { background: linear-gradient(180deg, color-mix(in srgb, var(--te-accent) 16%, var(--te-bg)), var(--te-bg) 40rem) var(--te-bg); }
.te-nav { border-radius: 999px; background: color-mix(in srgb, var(--te-surface) 48%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 10%, transparent); }
.te-nav-sheet { border-radius: 0 0 1.5rem 1.5rem; }
.te-nav-link { border-radius: 999px; }
.te-site h1, .te-site h2, .te-site h3, .te-heading { font-weight: 700; letter-spacing: -.02em; }
.te-btn, .te-btn-outline { border-radius: 999px; }
.te-btn { background: linear-gradient(95deg, var(--te-primary), var(--te-accent)); color: #0d1020; box-shadow: 0 10px 40px -10px var(--te-accent); }
.te-btn-soft, .te-btn-outline { background: transparent; color: var(--te-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--te-ink) 30%, transparent); border: 0; }
.ml-hero { position: relative; overflow: hidden; padding: 4rem 1.25rem 2.5rem; margin-top: -4.5rem; padding-top: 8rem; }
.ml-trails { position: absolute; inset: 0; width: 100%; height: 100%; }
.ml-trails path { stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ml-run 2.4s cubic-bezier(.3,.1,.2,1) var(--d, 0s) forwards; }
@keyframes ml-run { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ml-trails path { stroke-dashoffset: 0; } }
.ml-s0 { stop-color: var(--te-primary); stop-opacity: 0; } .ml-s1 { stop-color: var(--te-primary); } .ml-s3 { stop-color: var(--te-accent); } .ml-s2 { stop-color: var(--te-accent); stop-opacity: .15; }
.ml-copy { position: relative; max-width: 76rem; margin: 0 auto; }
.ml-title { font-size: calc(var(--fit, 1) * clamp(3rem, 11vw, 9.5rem)); line-height: .94; font-weight: 800; color: var(--te-primary-text); overflow-wrap: break-word; }
.ml-label { font-size: 1.0625rem; color: var(--te-accent-text); margin-bottom: 1rem; }
.ml-sub { color: var(--te-muted); margin-top: 1.25rem; font-size: 1.1875rem; max-width: 32rem; }
.ml-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.ml-actions .te-count { justify-content: flex-start; min-width: min(100%, 22rem); }
.ml-photo { position: relative; max-width: 76rem; margin: 3.5rem auto 0; aspect-ratio: 21/9; overflow: hidden; border-radius: 1.25rem; box-shadow: 0 40px 100px -40px var(--te-accent); }
.ml-photo > * { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.te-count-cell { background: color-mix(in srgb, #fff 6%, transparent) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 12%, transparent) !important; }
.te-tile, .te-card { background: color-mix(in srgb, #fff 5%, transparent); border: 0; box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 11%, transparent); }
.te-icon-tile { background: none; color: var(--te-primary-text); }
.te-section-head { text-align: left; max-width: 76rem; }
.te-explore > div, .te-facts-grid { max-width: 76rem !important; }
.te-h-section::after { content: ""; display: block; height: 2px; margin-top: 1rem; background: linear-gradient(90deg, var(--te-primary), var(--te-accent), transparent 70%); }
.te-page-head { background: none; text-align: left; max-width: 76rem; margin-inline: auto; }
.te-page-head h1, .te-page-head .te-h-page { font-size: clamp(3rem, 10vw, 7rem); }
.te-chip { background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 18%, transparent); color: var(--te-primary-text); border-radius: 999px; }
.te-gallery-grid { max-width: 76rem !important; }
.te-gallery-item { border-radius: 1.25rem !important; }
.te-closing-panel { max-width: 76rem !important; }
.te-field { background: color-mix(in srgb, #fff 5%, transparent); border-color: color-mix(in srgb, #fff 14%, transparent); border-radius: 1rem; }
.te-btn-soft { background: var(--te-tint-strong); color: var(--te-primary-text); }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn-light { background: #fff; color: #14141c; }
.te-btn-soft { background: transparent; color: var(--te-ink); }
/* Programme: stops along a road, left to right on wide screens. */
.te-schedule > div { max-width: 76rem !important; }
.te-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0; background: none; box-shadow: none; padding: 0 !important; border-top: 2px solid; border-image: linear-gradient(90deg, var(--te-primary), var(--te-accent), transparent) 1; }
.te-timeline li > div:first-child { display: none; }
.te-timeline li { grid-template-columns: 1fr !important; }
.te-timeline li { padding: 1.5rem 1rem 0 0 !important; }
.te-timeline .te-h-card { font-size: 1.375rem; }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
