/* Author archive — "The talent one-sheet"
   (markup: template-parts/cinema/author-onesheet.php; article cards come from blog.css) */

/* ---------- Hero ---------- */
.au-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(44px, calc(var(--vhs) * 6), 80px)) 0 clamp(56px, calc(var(--vhs) * 8), 96px); background: radial-gradient(120% 80% at 50% 0%, #120d0a 0%, var(--bg) 70%); }
.au-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 22% 30%, rgba(243, 194, 122, .14), transparent 70%), radial-gradient(50% 60% at 95% 90%, rgba(90, 167, 178, .08), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 236, 214, .018) 0 1px, transparent 1px 34px); }
.au-hero .viewfinder { opacity: .7; }
.au-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.au-hero__copy .chip { margin-top: 18px; }
.au-title { margin-top: 18px; font-size: clamp(1.9rem, 1rem + 2.6vw, 3.4rem); font-weight: 900; line-height: 1.4; text-wrap: balance; }
.au-role { margin-top: 12px; color: var(--gold-l); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 800; line-height: 1.9; }
.au-lead { margin-top: 18px; max-width: 62ch; color: var(--text-2); font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 2.05; text-wrap: pretty; }
.au-credits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.au-credits div { display: grid; gap: 4px; min-width: 132px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 236, 214, .04), transparent), var(--panel); }
.au-credits dd { order: -1; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; line-height: 1.2; background: linear-gradient(180deg, #fff6ea, var(--gold-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-credits dt { font-size: 12.5px; color: var(--muted); }
.au-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.au-links__label { width: 100%; margin-bottom: 2px; font-size: 12.5px; color: var(--muted); }
.au-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .03); font-size: 14px; font-weight: 800; transition: border-color .3s, color .3s, transform .3s var(--ease-out); }
.au-links a .ico { color: var(--gold); }
.au-links a:hover { border-color: rgba(224, 169, 95, .5); color: var(--gold-l); transform: translateY(-2px); }

/* portrait under a spotlight, with a brass name plate */
.au-portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 360px); padding-top: 40px; }
.au-portrait__beam { position: absolute; z-index: -1; top: -120px; left: 50%; width: 150%; height: 130%; translate: -50% 0; background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(255, 226, 180, .16) 14deg, rgba(255, 226, 180, .05) 30deg, transparent 40deg); filter: blur(6px); animation: auBeam 7s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes auBeam { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.au-portrait__frame { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 28px; padding: 10px; background: linear-gradient(145deg, #3a2f26, #16110d 40%, #2c241d); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 236, 214, .1), 0 0 80px -30px rgba(243, 194, 122, .35); }
.au-portrait__frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.au-portrait__grain { position: absolute; inset: 10px; border-radius: 20px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -60px 60px -40px rgba(10, 8, 7, .55); }
.au-plate { position: relative; display: grid; justify-items: center; gap: 4px; width: 82%; margin: -26px auto 0; padding: 12px 16px; border-radius: 12px; background: linear-gradient(180deg, #e9c78f, #b8894a); color: #241708; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .45); text-align: center; }
.au-plate .mono { font-size: 9px; letter-spacing: .24em; direction: ltr; opacity: .7; }
.au-plate strong { font-size: clamp(16px, 1.4vw, 19px); font-weight: 900; }
.au-portrait__seal { position: absolute; top: 18px; inset-inline-start: -14px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #120e0b; box-shadow: 0 0 0 1px rgba(224, 169, 95, .35), 0 14px 30px -12px rgba(0, 0, 0, .9); }
.au-portrait__seal svg { width: 38px; height: 38px; animation: auSeal 22s linear infinite; filter: drop-shadow(0 0 8px rgba(224, 169, 95, .5)); }
@keyframes auSeal { to { transform: rotate(360deg); } }

/* ---------- Bio one-sheet + skill reels ---------- */
.au-profile__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(20px, 3vw, 40px); }
.au-sheet { position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(80% 70% at 100% 0%, rgba(224, 169, 95, .1), transparent 70%), var(--panel); }
.au-sheet::before { content: "”"; position: absolute; top: 6px; inset-inline-end: 22px; font: 900 110px/1 Georgia, serif; color: rgba(224, 169, 95, .14); }
.au-sheet__code { font-size: 10px; letter-spacing: .22em; color: var(--gold); direction: ltr; text-align: left; }
.au-sheet h2 { margin-top: 10px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 900; line-height: 1.5; }
.au-sheet p:not(.au-sheet__code) { margin-top: 14px; color: var(--text-2); font-size: clamp(15.5px, .96rem + .15vw, 17px); line-height: 2.15; }
.au-sheet__work a { color: var(--gold-l); text-decoration: underline; text-decoration-color: rgba(224, 169, 95, .35); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .3s; }
.au-sheet__work a:hover { text-decoration-color: var(--gold-l); }
.au-reels__head { display: grid; gap: 4px; margin-bottom: 14px; }
.au-reels__head strong { font-size: 18px; font-weight: 900; }
.au-reels__head span { color: var(--muted); font-size: 13.5px; }
.au-reels__list { display: grid; gap: 10px; }
.au-reel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .025); transition: border-color .3s, background .3s; }
.au-reel:hover { border-color: rgba(224, 169, 95, .4); background: rgba(224, 169, 95, .05); }
.au-reel__spool { position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: var(--gold-l); background: radial-gradient(circle, #1a1410 0 34%, transparent 35%), repeating-conic-gradient(from 0deg, rgba(255, 236, 214, .16) 0 18deg, transparent 18deg 60deg), #0e0b09; box-shadow: inset 0 0 0 2px rgba(224, 169, 95, .3); }
.au-reel__spool .ico { position: relative; z-index: 1; width: 18px; height: 18px; }
.au-reel:hover .au-reel__spool { animation: auSpin 2.4s linear infinite; }
.au-reel:hover .au-reel__spool .ico { animation: auSpin 2.4s linear infinite reverse; }
@keyframes auSpin { to { transform: rotate(360deg); } }
.au-reel > span:last-child { display: grid; gap: 2px; }
.au-reel strong { font-size: 15.5px; font-weight: 900; }
.au-reel small { color: var(--text-2); font-size: 13.5px; line-height: 1.8; }

/* ---------- Laurels (verified certificates) ---------- */
.au-laurels__head { max-width: 760px; }
.au-laurels__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 900; line-height: 1.45; }
.au-laurels__head > p:last-child { margin-top: 10px; color: var(--text-2); line-height: 2; }
.au-laurels__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(22px, 3vw, 36px); }
.au-laurel { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 26px 22px 24px; border-radius: 24px; border: 1px solid rgba(224, 169, 95, .22); background: radial-gradient(70% 60% at 50% 30%, rgba(224, 169, 95, .1), transparent 70%), var(--panel); text-align: center; transition: transform .5s var(--ease-out), border-color .4s; }
.au-laurel:hover { transform: translateY(-4px); border-color: rgba(224, 169, 95, .5); }
.au-laurel__wreath { width: 150px; height: auto; margin-bottom: 2px; overflow: visible; filter: drop-shadow(0 0 10px rgba(224, 169, 95, .25)); }
.au-laurel__branch path { fill: rgba(224, 169, 95, .14); stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.au-laurel__branch path:first-child { fill: none; }
.au-laurel__issuer { position: relative; margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--gold-l); }
.au-laurel h3 { position: relative; max-width: 24ch; min-height: 3.2em; font-size: 15.5px; font-weight: 800; line-height: 1.6; }
.au-laurel a { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 800; color: var(--text-2); transition: color .3s, border-color .3s; }
.au-laurel a .ico { width: 16px; height: 16px; color: var(--gold); }
.au-laurel a:hover { color: var(--gold-l); border-color: rgba(224, 169, 95, .5); }

/* ---------- Filmography ---------- */
.au-films__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: clamp(22px, 3vw, 36px); }
.au-films__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 900; line-height: 1.45; }
.au-search { display: flex; align-items: center; width: min(100%, 380px); border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .03); transition: border-color .3s; }
.au-search:focus-within { border-color: rgba(224, 169, 95, .55); }
.au-search input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; outline: none; }
.au-search input::placeholder { color: var(--muted); }
.au-search button { display: grid; place-items: center; width: 42px; height: 42px; margin-inline-end: 4px; border: 0; border-radius: 50%; background: var(--grad-fire); color: #1a0d08; cursor: pointer; }
.au-films .bl-lead { margin-bottom: clamp(18px, 2.4vw, 28px); }
.au-films__list { margin-top: 0; }
.au-empty { padding: 40px; border-radius: 22px; border: 1px dashed var(--line-2); color: var(--text-2); text-align: center; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.au-hero__grid, .au-profile__grid { grid-template-columns: 1fr; }
	.au-portrait { order: -1; width: min(100%, 300px); }
	.au-laurels__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.au-portrait { width: min(78%, 270px); }
	.au-credits div { flex: 1 1 40%; min-width: 0; }
	.au-laurels__grid { grid-template-columns: 1fr; }
	.au-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.au-portrait__beam, .au-portrait__seal svg, .au-reel:hover .au-reel__spool, .au-reel:hover .au-reel__spool .ico { animation: none; }
}
