/* AnshaSayed.com: filmography + career listing layouts. Loaded after pages.css. */

/* ================= Shared: stats strip under a hero ================= */
.fg-stats { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.stats--flush { margin: 0; }
.stats--flush .stats__item { padding-bottom: .4rem; }

/* ================= Filmography: spotlight ================= */
.fg-feature__grid { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .fg-feature__grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; } .fg-spot--main { grid-row: span 2; } }
.fg-spot { position: relative; display: grid; border-radius: 22px; overflow: hidden; background: var(--ink); color: var(--ivory); text-decoration: none; isolation: isolate; min-height: 260px; }
.fg-spot__art { position: absolute; inset: 0; z-index: -2; }
.fg-spot__art .media, .fg-spot__art .media__inner, .fg-spot__art .fg-art { height: 100%; aspect-ratio: auto; border-radius: 0; }
.fg-spot__art img { transition: transform 1.2s var(--ease); }
.fg-spot:hover .fg-spot__art img { transform: scale(1.05); }
.fg-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,12,12,0) 20%, rgba(14,12,12,.9) 100%); }
.fg-spot__body { align-self: end; padding: clamp(1.4rem, 3vw, 2.4rem); padding-right: 5.5rem; position: relative; }
.fg-spot--main { min-height: 540px; }
.fg-spot__tag { display: inline-block; font: 600 .66rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: .45rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.fg-spot__title { font: 400 var(--s3)/1 var(--f-display); margin: 0 0 .4rem; }
.fg-spot--main .fg-spot__title { font-size: var(--s4); }
.fg-spot__role { font: italic 400 var(--s1)/1.3 var(--f-display); color: var(--gold-2); margin: 0 0 .6rem; }
.fg-spot__meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin: 0; line-height: 1.6; }
.fg-spot__go { position: absolute; right: clamp(1.4rem, 3vw, 2.4rem); bottom: clamp(1.4rem, 3vw, 2.4rem); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246,242,236,.4); transition: background .3s, color .3s, transform .5s var(--ease); }
.fg-spot:hover .fg-spot__go { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateX(4px); }

/* Typographic "poster" when no licensed artwork exists */
.fg-art { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 2 / 3; position: relative; overflow: hidden; }
.fg-art span { font: italic 400 clamp(3rem, 7vw, 6rem)/1 var(--f-display); color: rgba(246, 242, 236, .9); letter-spacing: -.02em; position: relative; z-index: 1; }
.fg-art::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 168, 118, .45); }
.fg-art--tv { background: radial-gradient(120% 90% at 80% 10%, #5b2236, #2a1219 60%, #120a0d); }
.fg-art--web { background: radial-gradient(120% 90% at 20% 10%, #3b3349, #1e1a26 60%, #0f0d13); }
.fg-art--film { background: radial-gradient(120% 90% at 50% 0%, #6b5532, #2c2416 60%, #120f09); }

/* ================= Filmography: card grid ================= */
.fg-filters { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.6rem; }
.seg sup { font-size: .62rem; color: var(--burgundy); margin-left: .15rem; }
.seg input:checked + span sup { color: var(--gold); }
.fg-grid { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.fg-card[hidden] { display: none; }
.fg-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.fg-card a:hover { border-color: var(--burgundy); transform: translateY(-5px); box-shadow: 0 20px 44px rgba(14, 12, 12, .1); }
.fg-card__art { position: relative; }
.fg-card__art .media, .fg-card__art .fg-art { aspect-ratio: 4 / 5; border-radius: 0; }
.fg-card__art img { transition: transform 1.1s var(--ease); }
.fg-card a:hover .fg-card__art img { transform: scale(1.05); }
.fg-card__year { position: absolute; left: 14px; top: 14px; z-index: 2; font: 600 .7rem/1 var(--f-body); letter-spacing: .14em; color: var(--ink); background: var(--ivory); padding: .45rem .7rem; border-radius: 999px; }
.fg-card__body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .35rem; }
.fg-card__medium { font: 600 .64rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.fg-card__title { font: 400 var(--s2)/1.05 var(--f-display); margin: .2rem 0 0; transition: color .3s; }
.fg-card a:hover .fg-card__title { color: var(--burgundy); }
.fg-card__role { font: italic 400 1.05rem/1.3 var(--f-display); color: var(--ink-3); margin: 0; }
.fg-card__years { font-size: .76rem; color: var(--muted); margin: .3rem 0 0; }

/* ================= Career: eras ================= */
.cr-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.cr-jump a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: var(--s-1); transition: background .3s, color .3s, border-color .3s; }
.cr-jump a span { font-size: .7rem; letter-spacing: .08em; color: var(--burgundy); }
.cr-jump a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.cr-jump a:hover span { color: var(--gold); }
.cr-era { padding-block: var(--sec); scroll-margin-top: 80px; }
.cr-era--alt { background: var(--mist); }
.cr-era__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .cr-era__grid { grid-template-columns: 5fr 7fr; gap: 6rem; } .cr-era__head { position: sticky; top: 110px; } }
.cr-era__years { display: flex; align-items: baseline; gap: 1rem; font: italic 400 var(--s2)/1 var(--f-display); color: var(--burgundy); margin: 0 0 1rem; }
.cr-era__years span { font: 600 .68rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.cr-era__title { font: 400 var(--s4)/.95 var(--f-display); letter-spacing: -.03em; margin: 0 0 1.4rem; }
.cr-era__intro { font-size: var(--s1); line-height: 1.6; color: var(--ink-3); max-width: 30em; }
.cr-era__media { max-width: 340px; margin-top: 2rem; }
.cr-era__media .media { border-radius: 170px 170px 0 0; }
.cr-list { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.6rem; }
.cr-list__rail { position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 1px; background: var(--line); }
.cr-item { position: relative; padding: 0 0 2.6rem; }
.cr-item:last-child { padding-bottom: 0; }
.cr-item__dot { position: absolute; left: calc(-2.6rem + 1px); top: .55rem; width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--burgundy); transition: background .4s, box-shadow .4s; }
.cr-era--alt .cr-item__dot { background: var(--mist); }
.cr-item.is-active .cr-item__dot { background: var(--burgundy); box-shadow: 0 0 0 6px rgba(125, 42, 65, .14); }
.cr-item__year { display: block; font: italic 400 var(--s3)/1 var(--f-display); color: var(--burgundy); margin-bottom: .6rem; }
.cr-item__title { font: 500 var(--s1)/1.3 var(--f-body); margin: 0 0 .5rem; }
.cr-item__title a { text-decoration: none; }
.cr-item__title a i { font-style: normal; color: var(--gold); display: inline-block; transition: transform .4s var(--ease); }
.cr-item__title a:hover { color: var(--burgundy); }
.cr-item__title a:hover i { transform: translateX(5px); }
.cr-item__text { color: var(--muted); margin: 0; max-width: 34rem; }

/* Spotlight: initials as a faint corner watermark, never behind the title */
.fg-spot .fg-art { place-items: start end; }
.fg-spot .fg-art span { font-size: clamp(5rem, 10vw, 9rem); opacity: .18; margin: 1.2rem 1.6rem 0 0; }

/* Credit grid: 3 wide cards on desktop, 2 on tablet, 1 on phones */
.fg-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .fg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fg-grid { grid-template-columns: repeat(3, 1fr); } }
.fg-card__art .media, .fg-card__art .fg-art { aspect-ratio: 16 / 10; }
.fg-card .fg-art span { font-size: clamp(3rem, 5vw, 4.5rem); }

/* Official trailer thumbnails on credit cards */
.fg-thumb { background: #000; }
.fg-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.03); }
.fg-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,12,.15), rgba(14,12,12,.35)); pointer-events: none; }
.fg-thumb__play { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem .45rem .5rem; border-radius: 999px; background: rgba(14,12,12,.78); color: var(--ivory); font: 600 .64rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(6px); }
.fg-thumb__play i { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); position: relative; }
.fg-thumb__play i::after { content: ""; position: absolute; left: 8px; top: 6px; border: 5px solid transparent; border-left: 8px solid var(--ink); }
.fg-spot .fg-thumb { height: 100%; aspect-ratio: auto; }
.fg-spot .fg-thumb__play { top: clamp(1.4rem, 3vw, 2.4rem); right: clamp(1.4rem, 3vw, 2.4rem); bottom: auto; }

/* Spotlight thumbnails: shade the text side so titles stay legible over busy artwork */
.fg-spot .fg-thumb::after { background: linear-gradient(90deg, rgba(14,12,12,.94) 0%, rgba(14,12,12,.78) 45%, rgba(14,12,12,.25) 100%); }
.fg-spot--main .fg-thumb::after { background: linear-gradient(180deg, rgba(14,12,12,0) 30%, rgba(14,12,12,.9) 100%); }
