/* Sutra Films: audiences, AI pipeline, audio players, phones, FAQ. Loaded after cinema.css. */

/* Seven nav items: tighter spacing between tablet and wide desktop */
@media (min-width: 861px) and (max-width: 1240px) {
  .nav ul { gap: 20px; }
  .nav ul a { font-size: .7rem; letter-spacing: .16em; }
  .brand span { display: none; }
}

/* Audiences: three video cards */
.auds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.aud { position: relative; min-height: 560px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; text-decoration: none; border: 1px solid var(--line); }
.aud:hover { color: inherit; border-color: var(--gold-2); }
.aud video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.aud:hover video { transform: scale(1); }
.aud::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 9, 8, .96) 10%, rgba(11, 9, 8, .55) 55%, rgba(11, 9, 8, .25)); transition: background .6s; }
.aud:hover::after { background: linear-gradient(0deg, rgba(11, 9, 8, .94) 10%, rgba(11, 9, 8, .35) 60%, rgba(11, 9, 8, .1)); }
.aud-copy { padding: clamp(22px, 2.6vw, 34px); }
.aud-copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 12px; }
.aud-copy p { color: #d6cdbf; font-size: .95rem; }
.aud-copy ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; font-size: .86rem; }
.aud-copy li::before { content: "✦ "; color: var(--gold); }
.aud-copy .go { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 960px) { .auds { grid-template-columns: 1fr; } .aud { min-height: 440px; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(236, 201, 128, .16); border: 1px solid rgba(236, 201, 128, .16); }
.pillar { background: rgba(11, 9, 8, .72); backdrop-filter: blur(6px); padding: clamp(22px, 2.4vw, 32px); }
.pillar .num { font-family: var(--display); color: var(--gold); letter-spacing: .2em; font-size: .9rem; }
.pillar h3 { margin: 14px 0 10px; font-size: 1.35rem; }
.pillar p { color: #c9c0b3; font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Audio players */
.aps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.ap { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: clamp(20px, 2.4vw, 28px); background: rgba(11, 9, 8, .74); backdrop-filter: blur(8px); border: 1px solid var(--line); transition: border-color .3s; }
.ap.playing { border-color: var(--gold-2); }
.ap-btn { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.ap-btn svg { width: 20px; height: 20px; fill: var(--gold); }
.ap-btn .i-play svg { margin-left: 3px; }
.ap-btn:hover, .ap.playing .ap-btn { background: var(--gold); }
.ap-btn:hover svg, .ap.playing .ap-btn svg { fill: var(--ink); }
.ap-btn .i-pause, .ap.playing .ap-btn .i-play { display: none; }
.ap.playing .ap-btn .i-pause { display: block; }
.ap-body .meta { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 6px; }
.ap-body h3 { font-size: 1.25rem; margin: 0 0 6px; }
.ap-body .muted { font-size: .88rem; margin: 0 0 14px; }
.ap-wave { position: relative; height: 46px; cursor: pointer; }
.ap-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(236, 201, 128, .26); }
.ap-prog { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.ap-prog svg { fill: var(--gold); filter: drop-shadow(0 0 4px rgba(236, 201, 128, .5)); }
.ap-time { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .ap { grid-template-columns: 1fr; } }

/* Phones playing vertical episodes */
.phones { display: flex; justify-content: center; gap: clamp(16px, 4vw, 56px); flex-wrap: wrap; }
.phone { margin: 0; width: min(260px, 70vw); text-align: center; }
.phone:nth-child(2) { transform: translateY(-28px); }
.phone-screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 38px; overflow: hidden; background: #000; border: 10px solid #1d1914; box-shadow: 0 0 0 1px rgba(236, 201, 128, .35), 0 40px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(236, 201, 128, .08); }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 14px; background: #000; }
.phone figcaption { margin-top: 16px; font-size: .9rem; }
.phone figcaption small { display: block; color: var(--gold); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 700px) { .phone:nth-child(2) { transform: none; } }

/* AI pipeline: what the stage is, what AI does, what people do */
.pipeline { border-top: 1px solid rgba(236, 201, 128, .3); }
.pl-row { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 1.4fr 1.4fr; gap: 18px 28px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pl-n { font-family: var(--display); color: var(--gold); font-size: 1.5rem; line-height: 1.1; }
.pl-row h3 { font-size: 1.3rem; margin: 0; }
.pl-row p { margin: 0; font-size: .93rem; color: #d6cdbf; }
.pl-ai span, .pl-hu span { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.pl-ai span { color: #9fc6ff; }
.pl-hu span { color: var(--gold); }
@media (max-width: 960px) { .pl-row { grid-template-columns: 50px 1fr; } .pl-row > p { grid-column: 2; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: rgba(11, 9, 8, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 4px; position: relative; font-family: var(--display); font-size: 1.08rem; letter-spacing: .03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; color: var(--gold); font-size: 1.5rem; font-family: var(--body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 4px 22px; color: #d6cdbf; max-width: 62ch; }

/* Live episodes link straight to YouTube */
.episodes li.ready a { display: contents; color: inherit; text-decoration: none; }
.episodes li.ready a:hover .t { color: var(--gold); }

/* Muted Shorts in the viewer get a clear sound button */
.lightbox .frame { position: relative; }
.sound-on { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); background: var(--gold); color: var(--ink); border: 0; padding: 12px 20px; font: 600 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.sound-on[hidden] { display: none; }

/* Video first: previews show whenever they are playing on screen, not only on hover */
.card-media.live video, .fp-media.live video, .nf-media.live video { opacity: 1; }
.mtile { position: relative; }
.mtile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mtile:hover video { transform: scale(1.04); }
.lightbox video[loop] { max-height: 86vh; width: auto; }

/* Music label band on the home page */
.music-band { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; text-align: center; padding: 120px 0; }
.music-band .bgv::after { background: radial-gradient(ellipse at center, rgba(11, 9, 8, .35), rgba(11, 9, 8, .9) 75%), linear-gradient(180deg, var(--ink), transparent 18%, transparent 82%, var(--ink)); }
.music-band h2 { font-size: clamp(2.6rem, 8vw, 7rem); margin: 0 auto 20px; max-width: 14ch; }
.music-band .lede { margin: 0 auto 32px; }
.music-band .btns { justify-content: center; }

/* Contact form: honeypot and status line */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--muted); }
.form-status.ok { color: var(--gold); }
.form button[disabled] { opacity: .6; cursor: progress; }

/* Sutra Records: artist feature */
.artist { background: radial-gradient(ellipse at 25% 40%, rgba(0, 150, 160, .14), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(200, 40, 140, .12), transparent 55%), var(--ink); }
.artist-grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.artist-phone { all: unset; cursor: pointer; display: block; width: 100%; max-width: 340px; justify-self: center; text-align: center; }
.artist-phone .phone-screen { transition: transform .6s var(--ease), box-shadow .6s; }
.artist-phone:hover .phone-screen { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(236, 201, 128, .6), 0 50px 90px rgba(0, 0, 0, .7), 0 0 80px rgba(0, 170, 180, .18); }
.artist-tap { display: inline-block; margin-top: 16px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.artist-name { font-size: clamp(3.4rem, 10vw, 8.5rem); letter-spacing: .16em; line-height: 1; margin: 6px 0 18px; background: linear-gradient(100deg, #fff6df 20%, var(--gold) 60%, #3fb8c0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.artist-copy .lede { margin-bottom: 12px; }
@media (max-width: 860px) { .artist-grid { grid-template-columns: 1fr; } .artist-phone { max-width: 280px; } }

/* Phones: skip backdrop blur, it is costly to paint and barely visible on a small screen */
@media (max-width: 899px) { .has-bg .card, .has-bg .label, .has-bg .contact-card, .has-bg .facts div, .pillar, .ap { backdrop-filter: none; background: rgba(11, 9, 8, .86); } }
