/*
Theme Name: Millbridge Media — After Dark
Theme URI: https://millbridgemedia.com
Author: Millbridge Media
Description: Bespoke, animated creative studio portfolio theme.
Version: 0.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: millbridge
*/
:root{--bg:#141414;--fg:#f4f0e9;--muted:#adaaa4;--acid:#d4ff45;--line:rgba(244,240,233,.2);--font:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font);-webkit-font-smoothing:antialiased}body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:20;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E")}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--acid);outline-offset:4px}::selection{background:var(--acid);color:var(--bg)}.wrap{width:min(1480px,calc(100% - 8vw));margin:auto}.skip-link{position:absolute;top:-100px;left:16px;z-index:100;background:var(--acid);color:#111;padding:12px}.skip-link:focus{top:12px}.site-header{position:absolute;z-index:15;width:100%;top:0;left:0}.nav-wrap{display:flex;justify-content:space-between;align-items:center;min-height:95px}.brand{font-size:clamp(16px,1.7vw,24px);text-decoration:none;font-weight:950;letter-spacing:-.055em}.brand span{color:var(--acid)}.nav{display:flex;gap:clamp(16px,3.6vw,55px)}.nav a{font-weight:800;font-size:12px;letter-spacing:.14em;text-decoration:none;transition:color .2s}.nav a:hover{color:var(--acid)}.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:center;overflow:hidden;padding:150px 0 95px}.hero:after{content:"";width:44vw;height:44vw;position:absolute;right:-14vw;top:20%;background:radial-gradient(circle,rgba(212,255,69,.10),transparent 65%);pointer-events:none}.eyebrow{font-size:11px;letter-spacing:.24em;font-weight:800;color:var(--acid);text-transform:uppercase;display:flex;align-items:center;gap:14px}.eyebrow:before{content:"";width:27px;height:1px;background:var(--acid)}.hero h1{font-size:clamp(56px,11.8vw,210px);line-height:.84;letter-spacing:-.095em;font-weight:950;margin:54px 0 45px;text-transform:uppercase}.hero h1 .line{display:block;width:max-content;max-width:100%}.hero h1 .accent{color:var(--acid);position:relative}.hero-bottom{display:flex;justify-content:space-between;align-items:end;gap:30px}.hero-bottom p{font-size:clamp(16px,1.6vw,24px);max-width:440px;line-height:1.35;margin:0;color:#e1ded8}.round-link{width:110px;height:110px;border:1px solid var(--fg);border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:42px;transition:background .25s,color .25s,transform .3s;flex-shrink:0}.round-link:hover{background:var(--acid);color:var(--bg);border-color:var(--acid);transform:rotate(45deg)}.ticker{overflow:hidden;background:var(--acid);color:#111;border-block:1px solid var(--acid);white-space:nowrap}.ticker-inner{display:flex;width:max-content;animation:marquee 24s linear infinite}.ticker span{font-size:clamp(16px,2vw,28px);font-weight:950;letter-spacing:-.04em;padding:16px 0}.ticker b{padding:0 28px}@keyframes marquee{to{transform:translateX(-50%)}}.section{padding:clamp(100px,11vw,190px) 0}.section-head{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:22px;margin-bottom:70px;gap:30px}.section-no{font-size:12px;letter-spacing:.13em;font-weight:800;color:var(--acid)}.section-head h2{font-size:clamp(33px,5.3vw,84px);line-height:.95;letter-spacing:-.075em;text-transform:uppercase;margin:0;font-weight:950}.project-list{display:grid;gap:25px}.project{position:relative;min-height:clamp(280px,40vw,620px);overflow:hidden;background:#272727;display:grid;align-items:end;text-decoration:none;isolation:isolate}.project:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(0,0,0,.82),transparent 70%)}.project img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .7s cubic-bezier(.2,.8,.2,1);filter:saturate(.85)}.project:hover img{transform:scale(1.055)}.project-content{position:relative;z-index:2;padding:clamp(22px,4vw,65px);display:flex;justify-content:space-between;align-items:end;gap:20px}.project h3{font-size:clamp(35px,6.6vw,100px);line-height:.9;letter-spacing:-.08em;margin:0 0 14px;text-transform:uppercase}.project p{font-size:13px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;margin:0}.project .arrow{font-size:45px;color:var(--acid)}.project.fallback-one{background:linear-gradient(135deg,#3f2429,#9d3738)}.project.fallback-two{background:linear-gradient(130deg,#301d53,#713ead)}.project.fallback-three{background:linear-gradient(135deg,#c08b10,#f4d040)}.project.fallback-four{background:linear-gradient(135deg,#284a42,#79b698)}.manifesto{background:var(--fg);color:#141414;padding:clamp(100px,14vw,230px) 0}.manifesto h2{font-size:clamp(45px,9vw,155px);line-height:.91;letter-spacing:-.085em;max-width:1200px;margin:0;text-transform:uppercase}.manifesto h2 em{font-style:normal;color:#77766d}.manifesto p{max-width:540px;font-size:clamp(18px,2.2vw,28px);line-height:1.35;margin:50px 0 0}.contact{padding:clamp(110px,14vw,220px) 0}.contact h2{font-size:clamp(52px,11vw,180px);line-height:.87;letter-spacing:-.09em;text-transform:uppercase;margin:35px 0 45px}.contact h2 span{color:var(--acid)}.contact-link{display:inline-flex;gap:18px;align-items:center;font-size:clamp(17px,2.5vw,35px);font-weight:800;text-decoration:none;border-bottom:2px solid var(--acid);padding-bottom:12px;overflow-wrap:anywhere}.contact-link:hover{color:var(--acid)}.footer{border-top:1px solid var(--line);padding:30px 0 50px}.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.footer a:hover{color:var(--acid)}.js .reveal{opacity:0;transform:translateY(45px)}.js .hero .line{opacity:0;transform:translateY(85%)}@media(max-width:650px){.wrap{width:calc(100% - 38px)}.nav-wrap{min-height:76px}.nav{gap:16px}.nav a{font-size:10px}.nav a:nth-child(2){display:none}.hero{padding-top:120px;min-height:92svh}.hero h1{font-size:clamp(49px,12.8vw,82px);margin:45px 0 40px}.hero-bottom p{font-size:16px}.round-link{width:70px;height:70px;font-size:30px}.section-head{display:block}.section-head h2{margin-top:20px}.project-content{align-items:end}.project .arrow{font-size:28px}.manifesto p{margin-top:35px}.ticker span{padding:12px 0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker-inner{animation:none}.js .reveal,.js .hero .line{opacity:1;transform:none}.project img,.round-link{transition:none}}

/* V0.2 — Editorial portfolio: keep images unobscured and move titles below */
.project-list--editorial{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(18px,2.4vw,38px);row-gap:clamp(42px,5.8vw,92px)}
.project-list--editorial .project{display:block;min-height:0;background:transparent;overflow:visible;isolation:auto;align-self:start}
.project-list--editorial .project::before{display:none}
.project-list--editorial .project--featured{grid-column:1/-1}
.project-list--editorial .project-visual{position:relative;display:block;overflow:hidden;aspect-ratio:8/5;background:#292929;isolation:isolate}
.project-list--editorial .project:not(.project--featured) .project-visual{aspect-ratio:8/6}
.project-list--editorial .project-visual::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.07);pointer-events:none;transition:background .4s ease}
.project-list--editorial .project:hover .project-visual::after{background:rgba(0,0,0,.19)}
.project-list--editorial .project img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.project-list--editorial .project:hover img{transform:scale(1.045)}
.project-list--editorial .project-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px 0 0;border-top:1px solid transparent;transition:border-color .25s}
.project-list--editorial .project:hover .project-meta{border-color:var(--acid)}
.project-list--editorial .project-copy{min-width:0}
.project-list--editorial .project-index{display:block;color:var(--acid);font-size:11px;font-weight:850;letter-spacing:.18em;margin:0 0 14px}
.project-list--editorial .project h3{font-size:clamp(26px,3.3vw,54px);letter-spacing:-.065em;line-height:1.02;font-weight:950;margin:0 0 10px;overflow-wrap:anywhere}
.project-list--editorial .project--featured h3{font-size:clamp(32px,5.2vw,78px)}
.project-list--editorial .project p{font-size:clamp(11px,.95vw,13px);line-height:1.5;letter-spacing:.09em;color:#c7c3bb;margin:0;max-width:65ch}
.project-list--editorial .project-arrow{color:var(--acid);font-size:clamp(28px,3vw,45px);line-height:1;flex:none;transition:transform .35s ease}
.project-list--editorial .project:hover .project-arrow{transform:translate(6px,-6px)}
.project-list--editorial .project-view{position:absolute;z-index:2;right:18px;bottom:18px;display:inline-flex;align-items:center;gap:22px;padding:13px 17px;border:1px solid rgba(255,255,255,.7);color:#fff;background:rgba(20,20,20,.85);font-size:10px;font-weight:850;letter-spacing:.12em;transform:translateY(12px);opacity:0;transition:opacity .25s,transform .25s;pointer-events:none}
.project-list--editorial .project:hover .project-view,.project-list--editorial .project:focus-visible .project-view{transform:translateY(0);opacity:1}
.project-list--editorial .placeholder-note{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:.15em;color:rgba(255,255,255,.75)}
.project-list--editorial .fallback-1 .project-visual{background:linear-gradient(135deg,#3f2429,#9d3738)}
.project-list--editorial .fallback-2 .project-visual{background:linear-gradient(130deg,#301d53,#713ead)}
.project-list--editorial .fallback-3 .project-visual{background:linear-gradient(135deg,#c08b10,#f4d040)}
.project-list--editorial .fallback-4 .project-visual{background:linear-gradient(135deg,#284a42,#79b698)}
@media(max-width:760px){.project-list--editorial{grid-template-columns:1fr;row-gap:48px}.project-list--editorial .project--featured{grid-column:auto}.project-list--editorial .project-visual,.project-list--editorial .project:not(.project--featured) .project-visual{aspect-ratio:8/5}.project-list--editorial .project h3,.project-list--editorial .project--featured h3{font-size:clamp(29px,7vw,46px)}.project-list--editorial .project-meta{padding-top:14px}.project-list--editorial .project-view{display:none}.section-head{margin-bottom:42px}}
@media(prefers-reduced-motion:reduce){.project-list--editorial .project img,.project-list--editorial .project-view,.project-list--editorial .project-arrow{transition:none}}

/* v0.3 — motion direction. All content is visible without JavaScript. */
.mm-svg-arrow {display:block;width:1em;height:1em;overflow:visible;stroke:currentColor}
.round-link .mm-svg-arrow{width:42px;height:42px}
.project-list--editorial .project-arrow{font-size:clamp(26px,3vw,42px);display:block}
.project-list--editorial .project-arrow .mm-svg-arrow{width:1em;height:1em}
.project-list--editorial .project-view .mm-svg-arrow{width:16px;height:16px}
.contact-arrow{display:inline-block;color:var(--acid);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.contact-link:hover .contact-arrow{transform:translate(7px,-7px)}
.brand span{display:inline-block;transform-origin:center;transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.brand:hover span,.brand:focus-visible span{transform:rotate(135deg) scale(1.18)}
/* Moving lighting that responds to the pointer on precise-pointer devices */
.hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(closest-side at var(--hero-mx,72%) var(--hero-my,57%),rgba(212,255,69,.105),transparent 85%);opacity:.65;transition:opacity .4s}
.hero .wrap{position:relative;z-index:1}
.hero h1 .accent::after{content:"";position:absolute;bottom:-.065em;left:0;width:0;height:.042em;background:currentColor;opacity:.85;transition:width .7s cubic-bezier(.2,.8,.2,1)}
.hero h1 .accent:hover::after{width:100%}
/* Dynamic pointer-follow invitation for desktop only */
.mm-follow{position:fixed;z-index:40;left:0;top:0;width:108px;height:108px;display:flex;align-items:center;justify-content:center;border-radius:50%;pointer-events:none;background:var(--acid);color:#131313;font-size:10px;font-weight:950;letter-spacing:.08em;text-align:center;line-height:1.3;opacity:0;transform:translate3d(-200px,-200px,0) scale(.7);transition:opacity .2s,scale .2s;will-change:transform;box-shadow:0 8px 30px rgba(0,0,0,.23)}
.mm-follow.is-visible{opacity:1;scale:1}
.project-list--editorial .project-visual{backface-visibility:hidden}
.project-list--editorial .project img{will-change:auto;transition:transform 1s cubic-bezier(.19,1,.22,1)}
.project-list--editorial .project:hover img{transform:scale(1.075)}
.project-list--editorial .project:hover .project-visual::after{background:rgba(0,0,0,.09)}
.project-list--editorial .project-meta{padding-top:22px}
/* Remove old redundant View Website box, while keeping full-card links */
.project-list--editorial .project-view{display:none}
@media(hover:none),(pointer:coarse){.mm-follow{display:none}.hero::before{opacity:.35}}
@media(max-width:650px){.round-link .mm-svg-arrow{width:30px;height:30px}.hero{min-height:88svh}.hero h1 .accent::after{display:none}}
@media(prefers-reduced-motion:reduce){.brand span,.contact-arrow,.project-list--editorial .project img{transition:none!important}.hero::before{transition:none}.mm-follow{display:none}.hero h1 .accent::after{transition:none}}


/* v0.4 — conversion-focused contact area, studio note, tactile accents */
.studio-note{display:flex;align-items:flex-start;gap:clamp(20px,3vw,50px);border-top:2px solid #171717;margin-top:clamp(58px,9vw,120px);padding-top:30px;max-width:950px}
.studio-note-mark{font-size:clamp(46px,6vw,90px);line-height:1;color:#171717;display:inline-block;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.studio-note:hover .studio-note-mark{transform:rotate(140deg)}
.studio-note strong{font-size:clamp(20px,2.7vw,36px);font-weight:950;letter-spacing:-.055em}
.studio-note p{font-size:clamp(16px,1.55vw,22px);max-width:680px;margin:15px 0 0;line-height:1.5}
.contact h2{margin-bottom:clamp(55px,8vw,115px)}
.contact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(35px,7vw,125px);align-items:start}
.contact-intro>p{font-size:clamp(19px,2.15vw,31px);line-height:1.3;letter-spacing:-.03em;max-width:480px;margin:0 0 50px}
.contact-link{font-size:clamp(17px,1.6vw,24px);max-width:100%}
.contact-panel{border-top:1px solid var(--acid);padding-top:20px}
.mm-contact-form{display:grid;gap:28px}
.mm-field{display:grid;gap:12px}
.mm-field label{font-size:11px;color:var(--acid);font-weight:900;letter-spacing:.17em}
.mm-field input,.mm-field textarea{font:inherit;font-size:clamp(19px,2vw,27px);letter-spacing:-.02em;width:100%;padding:15px 0 18px;color:var(--fg);border:0;border-bottom:1px solid rgba(244,240,233,.36);background:transparent;border-radius:0;resize:vertical;transition:border-color .2s}
.mm-field input::placeholder,.mm-field textarea::placeholder{color:#97958e;opacity:1}
.mm-field input:focus,.mm-field textarea:focus{outline:none;border-color:var(--acid)}
.mm-field input:focus-visible,.mm-field textarea:focus-visible{outline:2px solid var(--acid);outline-offset:3px}
.mm-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap;margin-top:6px}
.mm-form-bottom>p{max-width:230px;font-size:12px;line-height:1.5;color:#b6b4ae;margin:0}
.mm-form-bottom a{text-underline-offset:3px}
.mm-send{appearance:none;display:inline-flex;gap:26px;align-items:center;justify-content:space-between;min-height:60px;border:1px solid var(--acid);background:var(--acid);color:#141414;padding:15px 19px 15px 23px;font:900 13px/1 var(--font);letter-spacing:.08em;cursor:pointer;transition:transform .25s,background .25s,color .25s}
.mm-send svg{width:22px;height:22px;transition:transform .3s}
.mm-send:hover{background:transparent;color:var(--acid);transform:translateY(-3px)}
.mm-send:hover svg{transform:translate(4px,-4px)}
.contact-feedback{border-left:3px solid var(--fg);padding:15px 18px;margin-bottom:26px;background:#262626;font-size:15px;line-height:1.45}
.contact-feedback--success{border-color:var(--acid)}
.mm-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mm-setup{font-size:18px;line-height:1.5}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr;gap:45px}.contact-intro>p{margin-bottom:25px}.contact h2{margin-bottom:60px}}
@media(max-width:650px){.studio-note{gap:17px}.studio-note-mark{font-size:42px}.contact-panel{padding-top:24px}.mm-form-bottom{align-items:stretch}.mm-send{width:100%}}
@media(prefers-reduced-motion:reduce){.studio-note-mark,.mm-send,.mm-send svg{transition:none!important}}
