/* =====================================================================
   LYD NDIS — imagery + "catchy" layer. Uses the site's own photographs at
   editorial scale with one petrol/gold tone so they read as a single brand.
   ===================================================================== */

/* ---------- fact ticker under the hero (existing site copy only) ---------- */
main section.ticker { padding: 0 !important; background: #081c23 !important; border-top: 1px solid rgba(241, 210, 124, 0.22); border-bottom: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; }
main section.ticker { position: relative; }
main section.ticker::before, main section.ticker::after { content: ""; display: block !important; position: absolute; top: 0; bottom: 0; width: 5rem; z-index: 2; pointer-events: none; }
main section.ticker::before { left: 0; background: linear-gradient(90deg, #081c23, rgba(8, 28, 35, 0)); }
main section.ticker::after { right: 0; background: linear-gradient(270deg, #081c23, rgba(8, 28, 35, 0)); }
.ticker__track { display: flex; width: max-content; gap: 0; animation: ticker 48s linear infinite; will-change: transform; }
.ticker__group { display: flex; align-items: center; }
.ticker__item { display: inline-flex; align-items: center; gap: 0.9rem; padding: 1.05rem 2.25rem; font-family: var(--font-sans); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: #dfe7ea; white-space: nowrap; }
.ticker__item strong { font-family: "Manrope", var(--font-display), sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; text-transform: none; color: #f1d27c; font-variant-numeric: tabular-nums; }
.ticker__item::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #dcb13a; flex: none; }
main section.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker__group:last-child { display: none; } }

/* ---------- editorial photo treatment (one tone for every photograph) ---------- */
.editorial-photo, .hero-photo { position: relative; overflow: hidden; border-radius: 1.5rem; margin: 0; isolation: isolate; box-shadow: 0 40px 90px -40px rgba(6, 22, 28, 0.7); }
.editorial-photo img, .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.96); }
.editorial-photo::after, .hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 22, 28, 0) 38%, rgba(6, 22, 28, 0.82) 100%); }
.editorial-photo::before, .hero-photo::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(241, 210, 124, 0.35); }
.editorial-photo figcaption, .hero-photo figcaption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 3; color: #fff; font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.5; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.editorial-photo figcaption strong, .hero-photo figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.hero-photo figcaption .kicker-mini { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f1d27c; }
.hero-photo figcaption .kicker-mini::before { content: ""; width: 1.5rem; height: 2px; background: #dcb13a; }

/* ---------- "Six things": tall photo + two-column ledger ---------- */
.leaks-layout { display: grid; gap: 3rem; margin-top: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .leaks-layout { grid-template-columns: 0.82fr 1.18fr; } .leaks-layout .editorial-photo { min-height: 100%; } }
.leaks-layout .editorial-photo { aspect-ratio: 4 / 5; }
.leaks-layout .editorial-photo img { object-position: 30% 35%; }
@media (min-width: 1024px) { .leaks-layout .editorial-photo { aspect-ratio: auto; } }
.leaks-layout .leaks__stage.leaks-grid { margin-top: 0 !important; grid-template-columns: repeat(2, 1fr) !important; column-gap: 2.5rem; align-content: start; }
@media (max-width: 639px) { .leaks-layout .leaks__stage.leaks-grid { grid-template-columns: 1fr !important; } }

/* ---------- full-bleed photo bands (dark overlay keeps text AAA) ---------- */
main section.band-photo, .luxe main section[data-band="deep"].band-photo, .luxe main section.closing-band.band-photo {
  background-color: #0a2129 !important;
  background-image: linear-gradient(100deg, rgba(6, 22, 28, 0.94) 0%, rgba(6, 22, 28, 0.86) 45%, rgba(8, 28, 35, 0.72) 100%), var(--photo) !important;
  background-size: cover !important; background-position: center !important; background-attachment: scroll;
}
main section.band-photo::before { display: none !important; }
main section.band-photo::after { opacity: 0.05; }
main section.band-photo [data-slot="card"], main section.band-photo .card-lyd, .luxe main section.band-photo [data-slot="card"] {
  background: rgba(6, 22, 28, 0.55) !important; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
main section.band-photo .contact-card, .luxe main section.band-photo .contact-card { background: rgba(6, 22, 28, 0.6) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
main section.band-photo .band-inner { position: relative; z-index: 2; }
main section.band-photo :is(h2, h3) { color: #fff !important; }
main section.band-photo :is(p, li):not(.pipe__frame *) { color: #e4ebee !important; }
main section.band-photo .td-kicker { color: #f1d27c !important; }
main section.band-photo .td-kicker::before { background: linear-gradient(90deg, #f1d27c, #fff3c4) !important; }
main section.band-photo [class*="bg-lyd-yellow"][class*="p-"], main section.band-photo [class*="bg-lyd-blue"][class*="p-"], main section.band-photo .bg-white[class*="p-"] { background: rgba(6, 22, 28, 0.55) !important; border: 1px solid rgba(255, 255, 255, 0.16) !important; color: #fff; }
main section.band-photo [class*="bg-lyd-yellow"][class*="p-"] :is(p, span, div, h3), main section.band-photo .bg-white[class*="p-"] :is(p, span, div) { color: #e4ebee; }
main section.band-photo [class*="bg-lyd-yellow"][class*="p-"] :is(h2, h3, strong), main section.band-photo .bg-white[class*="p-"] strong { color: #fff; }
main section.band-photo .watermark { opacity: 0.1; }

/* ---------- interior heroes: text left, editorial photo right ---------- */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.hero-grid > div:first-child { max-width: 56rem; }
.hero-photo { aspect-ratio: 5 / 4; max-height: 32rem; }
@media (min-width: 1024px) { .hero-photo { aspect-ratio: 4 / 5; max-height: 36rem; justify-self: end; width: 100%; } }
main > section.hero-interior .hero-grid > div > .max-w-\[56rem\] { max-width: none; }
main > section.hero-interior[data-band="deep"] .hero-photo::before { box-shadow: inset 0 0 0 1px rgba(241, 210, 124, 0.45); }

/* ---------- ecosystem: photos visible on desktop too (was a scroll wipe) ---------- */
main .hscroll__panel img { clip-path: none !important; }
main .hscroll__panel > .hidden.lg\:block { position: relative; }
main .hscroll__panel > .hidden.lg\:block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 46, 56, 0.35), rgba(15, 46, 56, 0)); pointer-events: none; }
main .hscroll__panel > .hidden.lg\:block img { filter: saturate(0.85) contrast(1.05); }

/* ---------- second engine: bigger photo, tone-matched ---------- */
main .grid.bg-lyd-yellow img, main [class*="bg-lyd-yellow"] + div img { filter: saturate(0.85) contrast(1.06); }

/* ---------- mobile ---------- */
@media (max-width: 1023px) { .leaks-layout .editorial-photo { max-height: 22rem; } .hero-photo { max-height: 22rem; } .ticker__item { padding: 0.9rem 1.5rem; font-size: 0.75rem; } .ticker__item strong { font-size: 1.15rem; } }

/* closing band on photo: content column sits clean on the photograph */
.luxe main section.closing-band.band-photo > .band-inner [class*="bg-lyd-yellow"][class*="p-"]:not(.contact-card):not(._a):not(._b):not(._c):not(._d):not(._e):not(._f):not(._g) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
