/*
Theme Name: SteadiFox Modern
Theme URI: https://www.steadifox.com/
Author: SteadiFox
Description: Modern portfolio for SteadiFox. Includes a one-click migration tool under Tools > SteadiFox Import.
Version: 2.7.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: steadifox-modern
*/
:root{--paper:#fff;--surface:#fff;--ink:#202020;--muted:#696969;--line:#eaeaea;--accent:#c6202c;--max:1400px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto}button{font:inherit}.wrap{width:min(calc(100% - 72px),var(--max));margin:auto}.site-header{z-index:10;position:relative;background:rgba(248,248,246,.97);border-bottom:1px solid var(--line)}.header-inner{min-height:91px;display:flex;justify-content:space-between;align-items:center;gap:25px}.brand{font-weight:800;letter-spacing:.19em;font-size:18px}.brand b{color:var(--accent)}.site-nav ul{display:flex;gap:32px;list-style:none;margin:0;padding:0}.site-nav a{text-transform:uppercase;font-weight:700;letter-spacing:.16em;font-size:11px}.menu-toggle{display:none;appearance:none;border:1px solid var(--line);padding:10px 13px;background:transparent;cursor:pointer}.intro{min-height:530px;padding:105px 20px 105px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#1a1c1d;color:#fff}.intro-mark{max-width:90px;max-height:90px;object-fit:contain;margin-bottom:32px}.eyebrow{text-transform:uppercase;letter-spacing:.24em;font-size:11px;font-weight:700;color:var(--accent)}.intro .eyebrow{color:#dba17f}.intro h1{font-size:clamp(72px,10vw,150px);letter-spacing:-.09em;font-weight:750;margin:8px 0 8px;line-height:1}.intro p{color:#bfc1c0;letter-spacing:.18em;text-transform:uppercase;font-size:13px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin:90px 0 34px}.section-head h2{font-size:clamp(36px,5vw,64px);letter-spacing:-.065em;line-height:1;margin:10px 0 0}.section-head p{color:var(--muted);font-size:14px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 22px}.project-card{min-width:0}.project-card .poster{background:#252729;aspect-ratio:16/10;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:white}.project-card .poster img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .5s}.project-card:hover .poster img{transform:scale(1.04)}.play{border:1px solid #ffffff8c;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;background:#1717178c;z-index:1;font-size:23px}.project-card h3{font-size:16px;line-height:1.4;margin:15px 0 5px;letter-spacing:-.02em}.project-card .role{font-size:12px;color:var(--muted);margin:0}.more{padding:70px 0 110px;text-align:center}.more a,.button-link{display:inline-block;border-bottom:1px solid var(--ink);padding:0 0 9px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.site-footer{background:#1b1d1e;color:white;margin-top:90px;padding:65px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-inner p{color:#a4a8a9;font-size:13px}.page-main{padding-top:78px;min-height:55vh}.page-title{font-size:clamp(50px,7vw,92px);letter-spacing:-.075em;line-height:1.05;margin:5px 0 25px}.page-lead{color:var(--muted);font-size:16px;margin-bottom:55px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,100px);align-items:start}.portrait{width:100%;aspect-ratio:4/5;object-fit:cover;background:#d7d8d4}.prose{font-size:17px;line-height:1.85;color:#424746}.prose p{margin:0 0 22px}.prose a{text-decoration:underline}.contact-panel{font-size:18px;line-height:1.8}.contact-panel a{text-decoration:underline;text-underline-offset:5px}.credit-group{margin:65px 0}.credit-group h2{border-bottom:1px solid var(--line);padding-bottom:15px;font-size:24px;letter-spacing:-.04em}.credit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 34px}.credit-item h3{font-size:14px;margin:0 0 5px;line-height:1.5;font-weight:700}.credit-item p{margin:0;color:var(--muted);font-size:12px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.gallery img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;background:#e8e8e8}.gear-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.gear-card img{aspect-ratio:4/3;width:100%;object-fit:contain;background:#e9e9e7}.gear-card p{line-height:1.75;color:var(--muted)}.video-frame{aspect-ratio:16/9;width:100%;border:0;background:#161717}.project-detail{max-width:1000px;margin:auto}.project-detail .video-frame{margin:40px 0}.notice-media{font-size:12px;color:var(--muted);margin-top:22px}@media(max-width:850px){.wrap{width:min(calc(100% - 40px),var(--max))}.grid,.credit-grid,.gear-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.intro{min-height:420px}.footer-inner{align-items:start;flex-direction:column}}@media(max-width:620px){.header-inner{min-height:73px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:25px 20px;border-bottom:1px solid var(--line)}.site-nav.open{display:block}.site-nav ul{flex-direction:column;gap:24px}.grid,.credit-grid,.gear-grid{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}.intro h1{font-size:clamp(56px,15vw,85px)}.intro{min-height:340px}.section-head{margin-top:60px;align-items:start;flex-direction:column}.page-main{padding-top:50px}.site-footer{margin-top:60px}}

/* SteadiFox original white/red identity — 2.1 */
.site-header{background:#fff}.brand{color:#202020}.brand b{color:var(--accent)}
.intro{background:#fff;color:#202020;min-height:430px;border-bottom:1px solid var(--line)}
.intro .eyebrow{color:var(--accent)}.intro p{color:#676767}
.intro h1{letter-spacing:-.065em}
.project-card .poster{background:#f0f0f0;color:#222}
.play{background:rgba(198,32,44,.95);border:0;color:#fff}
.site-footer{background:#fff;color:#202020;border-top:1px solid var(--line)}
.site-footer .footer-inner p{color:#777}
.site-nav a:hover,.site-nav .current-menu-item a{color:var(--accent)}
.more a,.button-link{border-bottom-color:var(--accent)}
@media(max-width:620px){.site-nav{background:#fff}}

/* SteadiFox 2.2 refinements */
.intro-mark{max-width:135px;max-height:135px;margin-bottom:28px}
.intro .custom-logo{width:auto;max-width:135px;max-height:135px;height:auto}
.intro h1{letter-spacing:.015em;font-size:clamp(57px,9vw,124px);font-weight:800}
.intro p{color:var(--accent);font-weight:700;letter-spacing:.13em}
.about-layout{display:grid;grid-template-columns:minmax(135px,245px) minmax(0,760px);gap:clamp(24px,6vw,100px);align-items:start}
.about-photo{width:100%;max-width:245px;height:auto;aspect-ratio:auto;object-fit:contain;background:transparent}
.about-layout .prose h2{margin-top:0}.about-layout .prose{max-width:760px}
.contact-main{text-align:center}.contact-main .page-title{margin-bottom:30px}.contact-panel{max-width:540px;margin:0 auto}.contact-photo{max-width:265px;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;background:transparent;margin:35px auto 0;display:block}
.credits-main{max-width:1100px}.credit-group{margin:54px 0 75px}.credit-group h2{font-size:25px;padding-bottom:19px;margin-bottom:0;border-bottom:2px solid var(--accent)}
.credits-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(170px,1fr);gap:28px;padding:13px 10px;border-bottom:1px solid var(--line);align-items:baseline;font-size:14px;line-height:1.5}
.credits-row strong{font-weight:650}.credits-row>span{color:var(--muted)}.credits-heading{font-size:10px;letter-spacing:.17em;text-transform:uppercase;font-weight:800;padding-top:18px;padding-bottom:10px}.credits-row:not(.credits-heading):hover{background:#fbf7f7}
.gear-intro{padding:28px 0 80px;border-top:2px solid var(--accent);max-width:800px;color:var(--muted)}
@media(max-width:700px){.about-layout{grid-template-columns:1fr}.about-photo{max-width:190px}.credits-row{grid-template-columns:1fr;gap:2px}.credits-heading{display:none}.credit-group{margin:42px 0}.intro-mark,.intro .custom-logo{max-width:115px;max-height:115px}}

/* SteadiFox 2.3 — consistent red heading rules, expandable filmography */
.page-title::after,.section-head h2::after{content:"";display:block;width:clamp(68px,11vw,150px);height:3px;background:var(--accent);margin-top:22px}
.section-head h2::after{margin-top:18px}
.contact-main .page-title::after{margin-left:auto;margin-right:auto}
.credit-group{margin:0 0 16px;border-bottom:1px solid var(--line)}
.credit-toggle{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:92px;padding:15px 6px;transition:color .15s}
.credit-toggle::-webkit-details-marker{display:none}
.credit-toggle h2{border:0!important;margin:0!important;padding:0!important;font-size:clamp(20px,2.2vw,28px);letter-spacing:-.045em}
.credit-toggle:hover h2,.credit-toggle:focus-visible h2{color:var(--accent)}
.credit-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.credit-chevron{width:13px;height:13px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);transition:transform .2s;flex:0 0 auto;margin:0 10px 7px}
.credit-group[open] .credit-chevron{transform:rotate(225deg);margin-top:12px;margin-bottom:0}
.credit-group[open] .credit-toggle{border-bottom:2px solid var(--accent)}
.credits-table{padding-bottom:22px}
.credit-toggle h2::after{content:none}
.contact-photo{max-width:340px;margin-top:48px}
.contact-panel .contact-intro em{font-style:normal;color:var(--accent);font-weight:700}
.contact-panel .contact-email a{color:var(--accent);font-weight:700;text-decoration-color:var(--accent)}
.contact-panel a:hover{opacity:.7}
.about-layout{grid-template-columns:minmax(155px,230px) minmax(0,710px);gap:clamp(36px,6.5vw,105px);justify-content:center;align-items:start;margin:25px auto 0;max-width:1130px}
.about-photo-col{display:flex;justify-content:center;align-items:flex-start}
.about-photo{max-width:220px;margin-top:12px}
.about-copy{max-width:710px}.about-copy h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.045em;margin-bottom:24px;color:var(--ink)}
.about-copy p{line-height:1.85}
@media(max-width:700px){.about-layout{grid-template-columns:1fr;gap:22px}.about-photo-col{justify-content:flex-start}.about-photo{max-width:180px;margin:0}.contact-photo{max-width:260px}.credit-toggle{min-height:78px}}

/* SteadiFox 2.4 — About image alignment and category ordering */
@media(min-width:701px){
 .about-layout{grid-template-columns:minmax(200px,285px) minmax(0,710px);align-items:center;gap:clamp(32px,5.5vw,88px)}
 .about-photo-col{align-items:center;justify-content:center}
 .about-photo{max-width:280px;width:100%;margin:0}
}
.about-copy a{color:var(--accent);font-weight:700;text-decoration-color:var(--accent);text-underline-offset:4px}
.about-copy a:hover{color:#941923}
@media(max-width:700px){.about-photo{max-width:205px}}

/* SteadiFox 2.5 — equal page widths; more compact filmography */
.page-main{max-width:1100px}
.credits-main{max-width:1100px}
.credits-table{width:min(100%,850px);margin:0 auto;padding:7px 0 27px}
.credits-row{grid-template-columns:minmax(0,1.5fr) minmax(155px,.9fr);gap:20px;padding:12px 8px}
.credits-row.is-narrative{grid-template-columns:minmax(0,1.35fr) minmax(115px,.75fr) minmax(140px,.9fr);gap:16px}
.about-layout{max-width:100%;gap:clamp(26px,5vw,70px)}
.contact-main{max-width:1100px}
.gear-main{max-width:1100px}
@media(max-width:700px){.credits-table{width:100%}.credits-row,.credits-row.is-narrative{grid-template-columns:1fr;gap:3px;padding:13px 6px}.credits-row:not(.credits-heading) span:empty{display:none}}

/* 2.6 Gear list — aligned with the site-wide filmography style */
.sf-gear-sections{max-width:850px;margin:15px auto 85px;display:grid;gap:58px}
.sf-gear-category h2{font-size:clamp(24px,3.5vw,34px);letter-spacing:-.045em;margin:0 0 19px;padding:0 0 15px;border-bottom:3px solid var(--accent)}
.sf-gear-list{list-style:none;padding:0;margin:0}
.sf-gear-list li{padding:16px 9px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.5}
.sf-gear-list li:hover{background:#fbf7f7}
.sf-gear-empty{color:var(--muted)}
@media(max-width:700px){.sf-gear-sections{gap:42px}.sf-gear-list li{padding:13px 5px}}
