@font-face{font-family:AlteHaas;src:url("assets/AlteHaasGroteskRegular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:AlteHaas;src:url("assets/AlteHaasGroteskBold.ttf") format("truetype");font-weight:700;font-display:swap}
:root{--paper:#f4f4f0;--ink:#171816;--muted:#777a73;--line:#d4d5ce;--acid:#b7d6a1;--gutter:clamp(18px,4.7vw,76px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:var(--paper);color:var(--ink);font-family:AlteHaas,Arial,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}::selection{background:var(--acid);color:var(--ink)}.grain{pointer-events:none;position:fixed;inset:0;z-index:20;opacity:.12;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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");mix-blend-mode:multiply}
.site-header{height:92px;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:30}.brand{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:700;letter-spacing:.06em}.brand-mark{width:45px;height:45px;object-fit:contain;mix-blend-mode:multiply}.site-header nav{display:flex;gap:clamp(22px,4vw,64px);font-size:10px;letter-spacing:.1em}.site-header nav a{transition:opacity .2s}.site-header nav a:hover{opacity:.5}.site-header nav span{color:var(--muted);margin-left:4px}.menu-toggle{display:none;border:0;background:none;font:inherit}
.hero{min-height:650px;position:relative;padding:clamp(70px,9vw,140px) var(--gutter) 70px;overflow:hidden;border-bottom:1px solid var(--line)}.hero-copy{position:relative;z-index:3;max-width:1000px}.eyebrow,.section-number,.hero-index,.side-note,.scroll-cue,.work-count,.grid-end,.card-top,.card-caption small,.about-meta,.contact-kicker,.contact-links,.site-footer{font-size:9px;letter-spacing:.12em}.eyebrow{display:flex;align-items:center;gap:10px;color:#666a62;margin:0 0 24px}.live-dot{width:7px;height:7px;border-radius:50%;background:#9ac68b;box-shadow:0 0 0 4px #9ac68b2b}.eyebrow-location{color:#999b94}.hero h1{font-size:clamp(56px,9.1vw,142px);line-height:.79;letter-spacing:-.085em;margin:0;font-weight:700;max-width:1100px}.hero h1 span{color:#777a73}.hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;max-width:680px;margin-top:32px}.intro{font-size:clamp(16px,1.7vw,23px);line-height:1.25;margin:0;color:#555851}.hero-index{line-height:1.8;color:#777a73;text-align:right}.hero-art{position:absolute;width:42%;height:78%;right:2.5%;top:0;overflow:hidden;z-index:1;opacity:.92;pointer-events:none;mask-image:linear-gradient(to bottom,black 70%,transparent 100%)}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center 58%;mix-blend-mode:multiply;filter:grayscale(.15) contrast(1.05)}.art-stamp{position:absolute;bottom:19%;right:12%;font-size:9px;line-height:1.6;letter-spacing:.12em;border:1px solid #777a7366;padding:10px 12px;backdrop-filter:blur(8px)}.side-note{position:absolute;right:var(--gutter);bottom:24%;line-height:1.8;color:#777a73;writing-mode:vertical-rl}.scroll-cue{position:absolute;left:var(--gutter);bottom:24px;display:flex;align-items:center;gap:18px;color:#777a73}.scroll-cue i{font-size:20px;font-style:normal;color:var(--ink);transition:transform .2s}.scroll-cue:hover i{transform:translateY(5px)}
.work-section{padding:85px var(--gutter) 60px}.section-heading{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:20px;margin-bottom:28px}.section-number{color:#777a73;display:block;margin-bottom:12px}.section-heading h2{font-size:clamp(35px,5vw,68px);line-height:.9;letter-spacing:-.07em;margin:0}.period{color:#a3c994}.section-heading p{font-size:13px;line-height:1.45;color:#777a73;margin:0 0 4px}.work-count{color:#777a73;margin-bottom:5px}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.project-card{height:clamp(220px,29vw,440px);min-height:220px;position:relative;overflow:hidden;background:#e4e4df;display:block;isolation:isolate}.project-card img{width:100%;height:100%;object-fit:cover;transition:transform .75s cubic-bezier(.2,.7,.1,1),filter .4s;filter:saturate(.78)}.project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.17),transparent 25%,transparent 54%,rgba(0,0,0,.58));opacity:.85;transition:opacity .3s}.project-card:hover img{transform:scale(1.045);filter:saturate(1)}.project-card:hover:after{opacity:1}.card-top{position:absolute;top:14px;left:15px;right:15px;z-index:2;display:flex;justify-content:space-between;color:#fff}.arrow{font-size:21px;line-height:.8;transform:translate(-3px,3px);transition:transform .25s}.project-card:hover .arrow{transform:translate(0,0)}.card-caption{position:absolute;bottom:15px;left:15px;right:15px;z-index:2;color:#fff;display:flex;flex-direction:column;gap:5px}.card-caption strong{font-size:clamp(12px,1.1vw,16px);letter-spacing:-.02em}.card-caption small{font-size:8px;letter-spacing:.1em;opacity:.85}.grid-end{display:flex;justify-content:space-between;color:#777a73;padding-top:15px;border-top:1px solid var(--line);margin-top:12px}
.about-strip{margin:50px var(--gutter) 110px;padding:45px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:.6fr 1.5fr 1fr;gap:35px;align-items:center}.about-symbol img{width:min(150px,70%);margin:auto;opacity:.9;mix-blend-mode:multiply}.about-copy h2{font-size:clamp(36px,5.4vw,75px);line-height:.88;letter-spacing:-.075em;margin:0 0 24px}.about-copy h2 em{font-style:normal;color:#777a73}.about-copy p{max-width:490px;color:#686b64;font-size:14px;line-height:1.65;margin:0}.about-meta{display:grid;grid-template-columns:1fr;gap:7px;line-height:1.5}.about-meta span{color:#85877f;margin-top:9px}.about-meta strong{font-size:10px;font-weight:400;letter-spacing:.07em}
.contact-section{padding:0 var(--gutter) 90px}.contact-kicker{margin:0 0 25px;color:#777a73}.contact-title{display:block;font-size:clamp(48px,10.5vw,160px);line-height:.8;letter-spacing:-.09em;font-weight:700;position:relative;border-bottom:1px solid var(--line);padding-bottom:28px}.contact-title span{color:#888b83}.contact-title b{position:absolute;right:0;top:10px;font-size:clamp(28px,4vw,55px);font-weight:400;letter-spacing:0;transition:transform .3s}.contact-title:hover b{transform:translate(7px,-7px)}.contact-bottom{display:flex;justify-content:space-between;gap:25px;padding-top:22px}.contact-bottom p{font-size:13px;line-height:1.5;color:#777a73;margin:0}.contact-links{display:flex;gap:clamp(24px,6vw,95px)}.contact-links a{display:flex;flex-direction:column;gap:8px}.contact-links strong{font-size:11px;font-weight:400;letter-spacing:.04em}.site-footer{min-height:62px;border-top:1px solid var(--line);padding:18px var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:15px;color:#777a73;font-size:8px}.footer-brand{font-weight:700;color:var(--ink)}
/* Project detail page */
.detail-main{padding:30px var(--gutter) 90px}.back-link{font-size:10px;letter-spacing:.1em;color:#777a73;display:inline-block;margin-bottom:50px}.detail-top{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:end;margin-bottom:35px}.detail-top h1{font-size:clamp(55px,10vw,145px);line-height:.78;letter-spacing:-.085em;margin:0}.detail-top h1 span{color:#888b83}.detail-info{max-width:400px;justify-self:end}.detail-meta{display:flex;gap:22px;font-size:9px;letter-spacing:.1em;color:#777a73;margin-bottom:25px}.detail-info p{font-size:15px;line-height:1.6;color:#555851;margin:0}.detail-hero{width:100%;height:min(68vw,760px);min-height:330px;object-fit:cover;background:#e3e3de}.detail-copy{display:grid;grid-template-columns:1fr 2fr;gap:40px;padding:45px 0 65px;border-bottom:1px solid var(--line)}.detail-copy h2{font-size:11px;letter-spacing:.1em;margin:0}.detail-copy p{font-size:clamp(18px,2vw,27px);line-height:1.4;max-width:800px;margin:0;letter-spacing:-.02em}.detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.detail-gallery img{width:100%;height:clamp(220px,42vw,600px);object-fit:cover;background:#e3e3de}.detail-gallery img:first-child:nth-last-child(odd){grid-column:1/-1}.next-project{display:flex;justify-content:space-between;align-items:center;padding:60px 0 0}.next-project span{font-size:9px;letter-spacing:.12em;color:#777a73}.next-project a{font-size:clamp(28px,5vw,65px);letter-spacing:-.06em}.next-project a b{font-weight:400;margin-left:15px}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s,transform .7s}.reveal.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:800px){.site-header{height:72px}.brand-mark{width:36px;height:36px}.site-header nav{gap:18px}.hero{min-height:620px;padding-top:85px}.hero-art{width:58%;height:47%;right:-5%;top:8%;opacity:.5}.hero h1{font-size:clamp(53px,11.5vw,90px)}.hero-bottom{margin-top:30px;max-width:500px}.side-note{display:none}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card{height:clamp(260px,58vw,480px)}.section-heading{grid-template-columns:1fr auto}.section-heading p{grid-row:2;grid-column:1}.work-count{grid-column:2;grid-row:1}.about-strip{grid-template-columns:.5fr 1.5fr;gap:25px;margin-bottom:80px}.about-meta{grid-column:2;grid-template-columns:1fr 1fr;column-gap:20px}.about-meta span{margin-top:5px}.detail-top{grid-template-columns:1fr;gap:25px}.detail-info{justify-self:start}.detail-top h1{font-size:clamp(58px,13vw,110px)}}
@media(max-width:520px){.site-header{padding:0 18px}.brand{gap:8px;font-size:12px}.brand-mark{width:32px;height:32px}.site-header nav{display:none;position:absolute;top:71px;left:0;right:0;padding:22px 18px;background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;gap:20px}.site-header nav.open{display:flex}.menu-toggle{display:block;font-size:10px;letter-spacing:.1em}.menu-toggle span{font-size:16px;margin-left:5px}.hero{padding:78px 18px 75px;min-height:570px}.hero-art{width:90%;height:44%;right:-23%;top:19%;opacity:.34}.eyebrow{font-size:8px;flex-wrap:wrap;max-width:280px;line-height:1.6}.hero h1{font-size:clamp(47px,12.4vw,68px);line-height:.88;letter-spacing:-.08em}.hero-bottom{display:block;margin-top:26px}.intro{font-size:18px}.hero-index{text-align:left;margin-top:23px}.scroll-cue{left:18px}.work-section{padding:60px 18px 45px}.section-heading{margin-bottom:20px}.section-heading h2{font-size:40px}.section-heading p{font-size:12px}.work-count{font-size:8px}.project-grid{gap:5px}.project-card{height:58vw;min-height:190px}.card-top{top:10px;left:10px;right:10px}.card-caption{bottom:10px;left:10px;right:10px}.card-caption strong{font-size:11px}.card-caption small{font-size:7px}.grid-end{font-size:7px}.about-strip{margin:30px 18px 65px;padding:30px 0;grid-template-columns:1fr;gap:25px}.about-symbol img{width:80px;margin:0}.about-copy h2{font-size:52px}.about-copy p{font-size:13px}.about-meta{grid-column:1;grid-template-columns:1fr 1fr}.contact-section{padding:0 18px 65px}.contact-title{font-size:clamp(43px,11.8vw,62px);padding-bottom:20px}.contact-title b{font-size:24px}.contact-bottom{display:block}.contact-links{margin-top:25px;gap:30px;flex-wrap:wrap}.contact-links strong{font-size:10px}.site-footer{padding:18px;flex-wrap:wrap}.site-footer span:nth-child(2){display:none}.detail-main{padding:25px 18px 65px}.back-link{margin-bottom:40px}.detail-top{gap:20px}.detail-meta{flex-wrap:wrap;gap:12px}.detail-info p{font-size:14px}.detail-hero{height:75vw;min-height:260px}.detail-copy{grid-template-columns:1fr;gap:15px;padding:30px 0 40px}.detail-copy p{font-size:18px}.detail-gallery{grid-template-columns:1fr;gap:5px}.detail-gallery img{height:75vw}.next-project{padding-top:40px}.next-project a{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}


/* --- Fomesones v2: emblem-led hero, showreel and theme switch --- */
:root{color-scheme:light}
.registered{font-size:.7em;vertical-align:top;margin-left:2px}
.theme-toggle{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:transparent;padding:9px 11px;border-radius:30px;color:var(--ink);font:inherit;font-size:8px;letter-spacing:.1em;cursor:pointer;transition:background .25s,border-color .25s}
.theme-toggle:hover{background:var(--acid);border-color:var(--acid)}
.theme-icon{font-size:15px;line-height:1}
.hero-logo-art{width:46%;height:85%;right:2%;top:0;overflow:visible;mask-image:none;opacity:1}
.hero-logo{position:absolute;inset:2% 0 4%;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 20px 22px #00000012);transform:rotate(-5deg);animation:logo-drift 8s ease-in-out infinite}
.hero-logo-caption{position:absolute;right:2%;bottom:14%;font-size:8px;line-height:1.7;letter-spacing:.14em;color:#73766f;text-align:right}
.hero-logo-caption small{font-size:7px;color:#999b94}
.glass-orb{position:absolute;border:1px solid #fff9;border-radius:38% 62% 58% 42%/42% 43% 57% 58%;background:linear-gradient(135deg,#ffffffc9,#c8d0c566 35%,#ffffff21 58%,#9eab9b22);box-shadow:inset 5px 4px 12px #ffffffb3,inset -8px -9px 18px #9ea79b30,0 15px 35px #0000000a;backdrop-filter:blur(3px)}
.orb-one{width:125px;height:145px;right:7%;top:12%;transform:rotate(24deg)}
.orb-two{width:65px;height:77px;left:8%;bottom:22%;transform:rotate(-30deg)}
@keyframes logo-drift{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-10px) rotate(-3deg)}}
.intro-feature{padding:60px var(--gutter) 80px;border-bottom:1px solid var(--line)}
.intro-feature-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:30px}
.intro-feature-head p{font-size:10px;line-height:1.6;letter-spacing:.04em;color:var(--muted);text-align:right;margin:0}
.intro-feature-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:clamp(30px,7vw,105px);align-items:stretch}
.intro-statement{padding:10px 0 0;display:flex;align-items:flex-start;flex-direction:column}
.intro-statement h2{font-size:clamp(42px,6.4vw,88px);line-height:.85;letter-spacing:-.08em;margin:0 0 26px}
.intro-statement h2 em{font-style:normal;color:#85887f}
.intro-statement p{font-size:clamp(15px,1.35vw,19px);line-height:1.55;color:#666960;max-width:470px;margin:0 0 30px}
.text-link{font-size:9px;letter-spacing:.1em;border-bottom:1px solid var(--line);padding-bottom:10px;margin-top:auto}
.text-link span{font-size:15px;margin-left:18px;transition:margin .2s}.text-link:hover span{margin-left:25px}
.showreel-card{position:relative;display:block;min-height:340px;aspect-ratio:1.5;overflow:hidden;background:#d8dbd2;color:#fff;isolation:isolate}
.showreel-card>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:grayscale(.45) contrast(1.05);transition:transform .7s}
.showreel-card:hover>img{transform:scale(1.04)}
.showreel-card:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#1118,#1a211d18 45%,#1015109c);z-index:0}
.showreel-glass{position:absolute;width:36%;height:70%;right:12%;top:12%;border:1px solid #ffffffb8;border-radius:42% 58% 51% 49%/43% 42% 58% 57%;background:linear-gradient(130deg,#ffffff5c,#cbd6ce1a 42%,#ffffff6e 48%,#aab4aa26 55%,#ffffff18);box-shadow:inset 8px 5px 22px #ffffffa1,inset -12px -8px 20px #1a251e33,0 15px 40px #0003;backdrop-filter:blur(2px);transform:rotate(18deg);z-index:1}
.reel-top,.reel-title,.reel-note,.reel-play{position:absolute;z-index:2}
.reel-top{left:20px;top:18px;font-size:8px;letter-spacing:.13em}
.reel-play{right:20px;top:15px;width:40px;height:40px;border:1px solid #fff9;border-radius:50%;display:grid;place-items:center;font-size:20px;transition:background .2s,color .2s}
.showreel-card:hover .reel-play{background:#fff;color:#171816}
.reel-title{left:22px;bottom:36px;font-size:clamp(27px,4vw,55px);font-weight:700;line-height:.83;letter-spacing:-.06em}
.reel-title em{font-style:normal;color:#dce3d7}
.reel-note{left:22px;bottom:16px;font-size:7px;letter-spacing:.12em;color:#ffffffbd}
.all-work-link{display:flex;align-items:center;justify-content:space-between;margin-top:25px;padding:17px 0;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:.12em;transition:padding .2s}
.all-work-link span{font-size:22px}.all-work-link:hover{padding-left:8px;padding-right:8px}
body{transition:background-color .35s,color .35s}
body[data-theme="dark"]{--paper:#151715;--ink:#f0f0e9;--muted:#a4a79e;--line:#383c36;--acid:#a7c897;color-scheme:dark}
body[data-theme="dark"] .grain{opacity:.07;mix-blend-mode:screen}
body[data-theme="dark"] .brand-mark,body[data-theme="dark"] .hero-logo{mix-blend-mode:screen;filter:drop-shadow(0 0 20px #b7d6a122)}
body[data-theme="dark"] .hero-logo-caption,body[data-theme="dark"] .hero-index,body[data-theme="dark"] .eyebrow,body[data-theme="dark"] .intro-feature-head p,body[data-theme="dark"] .intro-statement p,body[data-theme="dark"] .section-heading p,body[data-theme="dark"] .about-copy p,body[data-theme="dark"] .about-meta span,body[data-theme="dark"] .detail-info p{color:#a8aca2}
body[data-theme="dark"] .project-card{background:#282b27}
body[data-theme="dark"] .project-card img{filter:brightness(.86) saturate(.75)}
body[data-theme="dark"] .hero-art{opacity:.9}
body[data-theme="dark"] .showreel-card{background:#292e29}
body[data-theme="dark"] .showreel-card>img{filter:brightness(.75) grayscale(.35)}
body[data-theme="dark"] .glass-orb{background:linear-gradient(135deg,#ffffff26,#c8d0c522 35%,#ffffff08 58%,#9eab9b12);box-shadow:inset 5px 4px 12px #ffffff30,inset -8px -9px 18px #9ea79b18,0 15px 35px #00000020}
body[data-theme="dark"] .theme-toggle:hover{color:#151715}
body[data-theme="dark"] .detail-hero,body[data-theme="dark"] .detail-gallery img{background:#292c28}
.portfolio-main{padding:65px var(--gutter) 90px}
.portfolio-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:45px}
.portfolio-intro h1{font-size:clamp(58px,11vw,150px);line-height:.78;letter-spacing:-.09em;margin:0}
.portfolio-intro h1 span{color:#85887f}
.portfolio-intro p{max-width:280px;font-size:13px;line-height:1.5;color:var(--muted);margin:0}
.filter-bar{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-bottom:14px}
.filter-button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:30px;padding:10px 14px;font:inherit;font-size:9px;letter-spacing:.06em;cursor:pointer}
.filter-button[aria-pressed="true"],.filter-button:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.portfolio-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.portfolio-project-grid .project-card{height:clamp(250px,36vw,520px)}
.portfolio-project-grid .project-card[hidden]{display:none}
.portfolio-results{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.1em;color:var(--muted);padding:16px 0;border-bottom:1px solid var(--line)}
@media(max-width:800px){.hero-logo-art{width:56%;height:65%;right:-2%;top:8%;opacity:.78}.intro-feature-grid{gap:30px}.portfolio-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.theme-toggle{padding:7px 9px;gap:5px}.theme-label{font-size:7px}.hero-logo-art{width:82%;height:47%;right:-18%;top:19%;opacity:.65}.hero-logo-caption{right:20%;bottom:8%;font-size:7px}.orb-one{width:75px;height:90px;right:19%;top:8%}.orb-two{width:42px;height:50px;left:7%;bottom:18%}.intro-feature{padding:45px 18px 55px}.intro-feature-head{gap:15px}.intro-feature-head p{font-size:8px}.intro-feature-grid{grid-template-columns:1fr;gap:28px}.intro-statement h2{font-size:52px}.intro-statement p{font-size:15px}.showreel-card{min-height:250px;aspect-ratio:1.2}.reel-title{font-size:39px}.portfolio-main{padding:48px 18px 65px}.portfolio-intro{display:block}.portfolio-intro h1{font-size:62px;margin-bottom:25px}.portfolio-intro p{font-size:12px}.portfolio-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.portfolio-project-grid .project-card{height:58vw;min-height:190px}.filter-bar{gap:5px}.filter-button{padding:9px 11px;font-size:8px}}

/* --- V3 refinements: fixed, faded emblem; subtle glass controls; calmer portfolio grid --- */
:root{--glass-bg:rgba(255,255,255,.42);--glass-border:rgba(120,124,116,.22);--glass-shadow:0 5px 22px rgba(36,39,32,.055)}
body[data-theme="dark"]{--paper:#151715;--ink:#eceee8;--muted:#a2a69c;--line:#363a34;--glass-bg:rgba(45,49,44,.5);--glass-border:rgba(225,230,218,.17);--glass-shadow:0 5px 24px rgba(0,0,0,.22)}
body[data-theme="dark"] .hero-logo-art img{filter:invert(1) grayscale(1);mix-blend-mode:screen;opacity:.32}
body[data-theme="light"] .hero-logo-art img{filter:grayscale(1);mix-blend-mode:multiply;opacity:.23}
.hero-logo-art{position:absolute;width:48%;height:94%;right:1.8%;top:0;display:flex;align-items:center;justify-content:center;overflow:hidden;opacity:1;mask-image:linear-gradient(to bottom,transparent 0%,black 13%,black 72%,transparent 100%)}
.hero-logo-art img{position:relative;width:clamp(390px,54vw,780px);height:auto;max-height:none;object-fit:contain;object-position:center;transform:none;mix-blend-mode:multiply;opacity:.23;filter:grayscale(1);transition:opacity .35s,filter .35s}
.hero-logo-art .glass-orb,.hero-logo-art .art-stamp{display:none!important}
.side-note{display:none!important}
.section-heading .section-number{border:0!important;padding:0!important}
.intro-feature-head .section-number{display:none!important}
.work-section .grid-end{display:none!important}
.brand .registered{font-size:.66em;vertical-align:top;display:inline-block;margin-left:2px;transform:translateY(-.05em)}
.site-header{border-bottom:0}
.theme-toggle{height:34px;min-width:34px;justify-content:center;gap:0;padding:0 10px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-bg);box-shadow:var(--glass-shadow);backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%);font-size:0;color:var(--ink)}
.theme-toggle .theme-icon{font-size:14px;line-height:1}
.theme-toggle .theme-label{display:none}
.theme-toggle:hover{background:var(--glass-bg);border-color:var(--glass-border);transform:translateY(-1px)}
.glass-button,.text-link,.all-work-link,.reel-close{border:1px solid var(--glass-border);background:var(--glass-bg);box-shadow:var(--glass-shadow);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);border-radius:7px;color:var(--ink);transition:background .25s,border-color .25s,transform .25s}
.glass-button:hover,.all-work-link:hover,.text-link:hover,.reel-close:hover{background:rgba(183,214,161,.22);border-color:rgba(130,160,112,.35);transform:translateY(-2px)}
.text-link{display:inline-flex;align-items:center;gap:14px;padding:11px 15px;font-size:10px;letter-spacing:.08em}
.text-link span{margin:0!important}
.all-work-link{display:table;width:auto;max-width:max-content;margin:28px auto 0;padding:13px 18px;font-size:10px;letter-spacing:.1em}
.all-work-link span{margin-left:18px}
.project-card{border-radius:3px!important;overflow:hidden}
.project-card:before{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.12);z-index:3;pointer-events:none;border-radius:3px}
.showreel-card{border:1px solid var(--glass-border);border-radius:4px!important;padding:0;text-align:left;cursor:pointer;font:inherit;appearance:none}
.showreel-card .showreel-glass{background:linear-gradient(115deg,rgba(255,255,255,.18),transparent 45%,rgba(255,255,255,.07));backdrop-filter:blur(1px)}
.reel-dialog{width:min(1000px,calc(100% - 32px));max-width:none;padding:15px;border:1px solid var(--glass-border);border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #0005}
.reel-dialog::backdrop{background:rgba(10,12,10,.7);backdrop-filter:blur(8px)}
.reel-dialog video{display:block;width:100%;max-height:75vh;background:#111;border-radius:3px}
.reel-close{display:block;margin:0 0 12px auto;padding:8px 12px;font:inherit;font-size:9px;letter-spacing:.1em;cursor:pointer}
.reel-missing{font-size:11px;color:var(--muted);margin:10px 0 0}
.reel-missing code{font-size:10px}
body[data-theme="dark"] .reel-dialog{background:#1a1d19}
body[data-theme="dark"] .hero-logo-art img{mix-blend-mode:screen}
body[data-theme="dark"] .project-card:after{opacity:.9}
@media(max-width:800px){.hero-logo-art{width:58%;height:55%;right:-4%;top:5%;opacity:.9}.hero-logo-art img{width:clamp(330px,65vw,520px)}}
@media(max-width:520px){.hero-logo-art{width:86%;height:44%;right:-15%;top:18%;opacity:.75}.hero-logo-art img{width:clamp(300px,90vw,430px)}.theme-toggle{height:32px;width:32px;min-width:32px;padding:0}.all-work-link{margin-top:22px}.text-link{padding:10px 12px;font-size:9px}.project-card{border-radius:2px!important}}

/* --- V4: precise emblem, restrained glass system, editorial cleanup --- */
:root{
 --glass-bg:rgba(255,255,255,.28);
 --glass-edge:rgba(118,124,113,.25);
 --glass-highlight:rgba(255,255,255,.68);
 --glass-shadow:0 3px 12px rgba(35,38,31,.045);
 --control-radius:5px;
}
body[data-theme="dark"]{
 --glass-bg:rgba(36,40,36,.42);
 --glass-edge:rgba(226,232,220,.18);
 --glass-highlight:rgba(255,255,255,.12);
 --glass-shadow:0 3px 14px rgba(0,0,0,.12);
}
.hero-logo-art{
 position:absolute!important;
 width:48%!important;height:100%!important;
 right:1.5%!important;top:0!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 overflow:hidden!important;opacity:1!important;
 transform:none!important;animation:none!important;
 mask-image:linear-gradient(to bottom,#000 0%,#000 22%,rgba(0,0,0,.78) 47%,rgba(0,0,0,.25) 78%,transparent 100%)!important;
 -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 22%,rgba(0,0,0,.78) 47%,rgba(0,0,0,.25) 78%,transparent 100%)!important;
}
.hero-logo-art img.hero-logo{
 display:block!important;position:relative!important;
 width:clamp(420px,52vw,760px)!important;height:auto!important;
 max-height:none!important;object-fit:contain!important;object-position:center!important;
 transform:none!important;animation:none!important;
 filter:grayscale(1)!important;mix-blend-mode:multiply!important;
 opacity:.30!important;transition:none!important;
}
body[data-theme="dark"] .hero-logo-art img.hero-logo{
 filter:invert(1) grayscale(1)!important;mix-blend-mode:screen!important;opacity:.30!important;
}
.hero-logo-caption,.hero-index,.side-note{display:none!important}
.hero-art .glass-orb,.hero-art .art-stamp{display:none!important}
.hero-art{pointer-events:none!important}
.site-header nav a,.back-link,.footer-brand,.site-footer>a,.filter-button,.theme-toggle,.menu-toggle,.scroll-cue,.text-link,.all-work-link,.reel-close,.next-project a{
 border-radius:var(--control-radius)!important;
}
.site-header nav a{
 display:inline-flex;align-items:center;min-height:34px;padding:0 10px;
 border:1px solid transparent;transition:background .22s,border-color .22s,box-shadow .22s;
}
.site-header nav a:hover{
 background:linear-gradient(135deg,var(--glass-bg),rgba(255,255,255,.06));
 border-color:var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-highlight),var(--glass-shadow);
}
.theme-toggle,.glass-button,.text-link,.all-work-link,.reel-close,.filter-button,.menu-toggle{
 background:linear-gradient(145deg,var(--glass-highlight),transparent 42%),var(--glass-bg)!important;
 border:1px solid var(--glass-edge)!important;
 box-shadow:inset 0 1px 0 var(--glass-highlight),inset 0 -1px 0 rgba(80,85,75,.05),var(--glass-shadow)!important;
 backdrop-filter:blur(16px) saturate(125%)!important;-webkit-backdrop-filter:blur(16px) saturate(125%)!important;
 transition:background .22s,border-color .22s,box-shadow .22s,transform .22s!important;
}
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .glass-button,
body[data-theme="dark"] .text-link,
body[data-theme="dark"] .all-work-link,
body[data-theme="dark"] .reel-close,
body[data-theme="dark"] .filter-button,
body[data-theme="dark"] .menu-toggle{
 background:linear-gradient(145deg,rgba(255,255,255,.12),transparent 45%),var(--glass-bg)!important;
}
.theme-toggle{height:34px!important;min-width:34px!important;width:34px!important;padding:0!important;gap:0!important;border-radius:5px!important;font-size:0!important}
.theme-toggle .theme-icon{font-size:14px!important;line-height:1}
.theme-toggle .theme-label{display:none!important}
.theme-toggle:hover,.glass-button:hover,.text-link:hover,.all-work-link:hover,.filter-button:hover,.filter-button[aria-pressed="true"]{
 transform:translateY(-1px);border-color:rgba(150,177,133,.45)!important;
 box-shadow:inset 0 1px 0 var(--glass-highlight),0 4px 12px rgba(35,38,31,.07)!important;
}
.filter-button[aria-pressed="true"]{color:var(--ink)!important;background:linear-gradient(145deg,var(--glass-highlight),transparent 42%),var(--glass-bg)!important}
.text-link,.all-work-link{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:max-content!important;padding:11px 15px!important}
.all-work-link{margin:28px auto 0!important}
.showreel-card .showreel-glass{display:none!important}
.reel-play{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;width:auto!important;height:auto!important;font-size:clamp(24px,3vw,42px)!important;line-height:1!important}
.reel-play:before,.reel-play:after{display:none!important;content:none!important}
.reel-title,.reel-top,.reel-note{pointer-events:none}
.portfolio-intro h1{font-size:clamp(58px,10vw,140px)!important;line-height:.82!important;letter-spacing:-.085em!important}
.portfolio-results{border-bottom:0!important}
.portfolio-results span:last-child{letter-spacing:.12em}
@media(max-width:800px){
 .hero-logo-art{width:58%!important;height:58%!important;right:-2%!important;top:5%!important}
 .hero-logo-art img.hero-logo{width:clamp(340px,65vw,540px)!important}
}
@media(max-width:520px){
 .hero-logo-art{width:84%!important;height:48%!important;right:-13%!important;top:17%!important}
 .hero-logo-art img.hero-logo{width:clamp(300px,88vw,420px)!important}
 .site-header nav a{padding:0 7px}
 .portfolio-intro h1{font-size:clamp(52px,13vw,74px)!important}
}

/* V5 refinements */
.hero-logo-art{
  width:55%!important;
  height:100%!important;
  right:0!important;
  top:0!important;
  align-items:center!important;
  justify-content:center!important;
  transform:none!important;
  animation:none!important;
  mask-image:linear-gradient(to bottom,#000 0%,#000 36%,rgba(0,0,0,.82) 56%,rgba(0,0,0,.42) 78%,transparent 100%)!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 36%,rgba(0,0,0,.82) 56%,rgba(0,0,0,.42) 78%,transparent 100%)!important;
}
.hero-logo-art img.hero-logo{
  width:clamp(500px,62vw,900px)!important;
  opacity:.48!important;
  transform:none!important;
  animation:none!important;
}
body[data-theme="dark"] .hero-logo-art img.hero-logo{opacity:.43!important}
.hero-bottom{align-items:flex-start!important;justify-content:flex-start!important}
.hero-index{display:none!important}
.intro-feature-head{display:flex!important;justify-content:flex-start!important;align-items:flex-start!important;text-align:left!important}
.intro-feature-head p{margin-left:0!important;margin-right:auto!important;text-align:left!important}
:root{
 --glass-bg:rgba(255,255,255,.28);
 --glass-edge:rgba(95,99,94,.24);
 --glass-highlight:rgba(255,255,255,.62);
}
body[data-theme="dark"]{
 --glass-bg:rgba(32,34,32,.46);
 --glass-edge:rgba(225,228,222,.2);
 --glass-highlight:rgba(255,255,255,.12);
}
.glass-button:hover,.all-work-link:hover,.text-link:hover,.reel-close:hover,
.theme-toggle:hover,.filter-button:hover,.filter-button[aria-pressed="true"]{
 background:linear-gradient(145deg,var(--glass-highlight),transparent 42%),var(--glass-bg)!important;
 border-color:var(--glass-edge)!important;
 box-shadow:inset 0 1px 0 var(--glass-highlight),var(--glass-shadow)!important;
}
.filter-button[aria-pressed="true"]{color:var(--ink)!important}
.contact-section{border-top:0}
.portfolio-contact{padding:45px var(--gutter) 85px;border-top:1px solid var(--line);margin-top:25px}
.portfolio-contact .contact-title{font-size:clamp(45px,9vw,125px)}
.portfolio-contact .contact-bottom{padding-bottom:0}
@media(max-width:800px){
 .hero-logo-art{width:65%!important;height:72%!important;right:-4%!important;top:2%!important}
 .hero-logo-art img.hero-logo{width:clamp(400px,75vw,620px)!important}
}
@media(max-width:520px){
 .hero-logo-art{width:90%!important;height:55%!important;right:-15%!important;top:11%!important}
 .hero-logo-art img.hero-logo{width:clamp(340px,98vw,470px)!important}
 .intro-feature-head{text-align:left!important}
}

/* V6 refinements: studio wordmark, shadowless controls, clearer typography */
.hero h1.hero-wordmark{
  letter-spacing:-.045em!important;
  line-height:.84!important;
  font-size:clamp(58px,9.1vw,142px)!important;
}
.hero h1.hero-wordmark span{
  display:inline-block;
  color:#858780!important;
  font-size:.72em;
  letter-spacing:.045em!important;
  margin-top:.12em;
}
.hero h1,.section-heading h2,.about-copy h2,.contact-title,.portfolio-intro h1,.detail-top h1,.next-project a{
  letter-spacing:-.045em!important;
}
.hero h1.hero-wordmark span{letter-spacing:.045em!important}
.theme-toggle,.glass-button,.text-link,.all-work-link,.reel-close,.filter-button,.menu-toggle,
.site-header nav a:hover,.theme-toggle:hover,.glass-button:hover,.text-link:hover,
.all-work-link:hover,.filter-button:hover,.filter-button[aria-pressed="true"]{
  box-shadow:none!important;
}
.site-header .brand{letter-spacing:.08em}


/* V7: balanced tracking, hero showreel backdrop, emblem in About */
.hero h1.hero-wordmark,.section-heading h2,.about-copy h2,.contact-title,.portfolio-intro h1,.detail-top h1,.next-project a{letter-spacing:-.025em!important}
.hero h1.hero-wordmark span{display:block!important;width:max-content;max-width:100%;color:#858780!important;font-size:clamp(15px,2vw,25px)!important;font-weight:400!important;line-height:1.2!important;letter-spacing:.015em!important;margin-top:clamp(14px,2vw,25px)!important;white-space:normal}
.portfolio-intro h1{letter-spacing:-.025em!important}
.hero{isolation:isolate;overflow:hidden}
.hero-showreel{position:absolute!important;inset:0!important;z-index:0!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:var(--paper)!important;text-align:left!important;opacity:.25;cursor:pointer}
.hero-showreel>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 45%!important;filter:grayscale(1)!important;opacity:.9!important}
.hero-reel-overlay{position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,color-mix(in srgb,var(--paper) 84%,transparent) 38%,color-mix(in srgb,var(--paper) 45%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--paper) 35%,transparent),transparent 55%)}
.hero-showreel .reel-play{position:absolute!important;right:var(--gutter)!important;bottom:clamp(42px,7vh,90px)!important;z-index:2;font-size:clamp(24px,3vw,42px)!important}
.hero-reel-label{position:absolute;right:var(--gutter);bottom:28px;z-index:2;font-size:9px;letter-spacing:.13em;color:var(--muted)}
.hero-copy{position:relative;z-index:2;pointer-events:none}
.hero-copy a,.hero-copy button{pointer-events:auto}
.hero-showreel{z-index:0!important}
.about-logo-visual{position:relative;min-height:320px;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--surface,transparent);mask-image:linear-gradient(to bottom,#000 0%,#000 35%,rgba(0,0,0,.75) 70%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 35%,rgba(0,0,0,.75) 70%,transparent 100%)}
.about-logo-visual img{display:block;width:min(100%,520px);height:auto;object-fit:contain;opacity:.42;filter:grayscale(1);mix-blend-mode:multiply}
body[data-theme="dark"] .about-logo-visual img{filter:invert(1) grayscale(1);mix-blend-mode:screen;opacity:.34}
body[data-theme="dark"] .hero-showreel{opacity:.18}
@media(max-width:800px){.hero-showreel>img{object-position:60% center}.hero-reel-overlay{background:linear-gradient(90deg,var(--paper) 0%,color-mix(in srgb,var(--paper) 72%,transparent) 70%,color-mix(in srgb,var(--paper) 40%,transparent) 100%)}.about-logo-visual{min-height:250px}}
@media(max-width:520px){.hero h1.hero-wordmark{letter-spacing:-.03em!important}.hero h1.hero-wordmark span{font-size:clamp(14px,4vw,18px)!important;letter-spacing:.01em!important}.hero-showreel .reel-play{bottom:42px!important}.hero-reel-label{bottom:18px}}


/* V9: autoplaying full-bleed portrait reel background */
.hero-showreel{
  position:absolute!important;inset:0!important;z-index:0!important;
  display:block!important;width:100%!important;height:100%!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  overflow:hidden!important;background:var(--paper)!important;opacity:1!important;
  cursor:default!important;pointer-events:none!important;
}
.hero-showreel-video{
  position:absolute!important;top:50%!important;left:50%!important;
  width:auto!important;height:100%!important;min-width:100%!important;
  max-width:none!important;object-fit:cover!important;
  transform:translate(-50%,-50%) scale(1.12)!important;
  filter:grayscale(1)!important;opacity:.36!important;
}
.hero-reel-overlay{
  position:absolute!important;inset:0!important;pointer-events:none!important;
  background:linear-gradient(90deg,var(--paper) 0%,color-mix(in srgb,var(--paper) 84%,transparent) 36%,color-mix(in srgb,var(--paper) 42%,transparent) 100%),
             linear-gradient(0deg,color-mix(in srgb,var(--paper) 42%,transparent),transparent 60%)!important;
}
.hero-reel-control{
  pointer-events:auto!important;position:absolute!important;right:var(--gutter)!important;
  bottom:clamp(42px,7vh,90px)!important;z-index:4!important;
  border:0!important;background:transparent!important;color:var(--ink)!important;
  padding:8px!important;font:inherit!important;font-size:clamp(24px,3vw,42px)!important;
  cursor:pointer!important;box-shadow:none!important;
}
.hero-reel-label{pointer-events:none!important}
body[data-theme="dark"] .hero-showreel-video{opacity:.24!important}
body[data-theme="dark"] .hero-reel-overlay{
 background:linear-gradient(90deg,var(--paper) 0%,color-mix(in srgb,var(--paper) 78%,transparent) 40%,color-mix(in srgb,var(--paper) 35%,transparent) 100%),
            linear-gradient(0deg,color-mix(in srgb,var(--paper) 36%,transparent),transparent 60%)!important;
}
@media(max-width:800px){
 .hero-showreel-video{height:100%!important;width:auto!important;min-width:100%!important;transform:translate(-50%,-50%) scale(1.16)!important}
 .hero-reel-overlay{background:linear-gradient(90deg,var(--paper) 0%,color-mix(in srgb,var(--paper) 76%,transparent) 65%,color-mix(in srgb,var(--paper) 35%,transparent) 100%)!important}
}


/* V10: the looping video is restricted to the first (hero) section only */
.hero{position:relative!important;isolation:isolate!important;overflow:hidden!important}
.hero-showreel{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important;overflow:hidden!important;pointer-events:none!important}
.hero-showreel-video{
  position:absolute!important;left:50%!important;top:50%!important;
  width:auto!important;height:100%!important;min-width:100%!important;min-height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;
  transform:translate(-50%,-50%) scale(1.18)!important;
  transform-origin:center center!important;
}
.hero-copy,.scroll-cue{position:relative;z-index:2}
.hero-reel-overlay{position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important}
@media(min-aspect-ratio: 16/9){
 .hero-showreel-video{height:auto!important;width:100%!important;min-width:100%!important;min-height:100%!important;transform:translate(-50%,-50%) scale(1.18)!important}
}
@media(max-width:520px){
 .hero-showreel-video{height:100%!important;width:auto!important;min-width:100%!important;transform:translate(-50%,-50%) scale(1.22)!important}
}


/* V11: show the video at full visibility; keep only a left-to-right text legibility gradient */
.hero-showreel-video{
  opacity:1!important;
  filter:none!important;
}
body[data-theme="dark"] .hero-showreel-video{opacity:1!important;filter:none!important}
.hero-reel-overlay{
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--paper) 96%,transparent) 0%,
    color-mix(in srgb,var(--paper) 90%,transparent) 24%,
    color-mix(in srgb,var(--paper) 66%,transparent) 43%,
    color-mix(in srgb,var(--paper) 24%,transparent) 62%,
    transparent 78%)!important;
}
body[data-theme="dark"] .hero-reel-overlay{
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--paper) 92%,transparent) 0%,
    color-mix(in srgb,var(--paper) 82%,transparent) 24%,
    color-mix(in srgb,var(--paper) 56%,transparent) 43%,
    color-mix(in srgb,var(--paper) 20%,transparent) 62%,
    transparent 78%)!important;
}
@media(max-width:800px){
 .hero-reel-overlay{
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--paper) 95%,transparent) 0%,
    color-mix(in srgb,var(--paper) 84%,transparent) 32%,
    color-mix(in srgb,var(--paper) 52%,transparent) 58%,
    transparent 88%)!important;
 }
 body[data-theme="dark"] .hero-reel-overlay{
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--paper) 90%,transparent) 0%,
    color-mix(in srgb,var(--paper) 78%,transparent) 32%,
    color-mix(in srgb,var(--paper) 45%,transparent) 58%,
    transparent 88%)!important;
 }
}


/* V13 refinements */
.hero h1.hero-wordmark span{
  font-size:clamp(22px,3.1vw,42px)!important;
  line-height:1.12!important;
  letter-spacing:.005em!important;
  margin-top:clamp(16px,2.2vw,28px)!important;
  max-width:calc(100vw - 2 * var(--gutter))!important;
}
.hero .eyebrow .live-dot{display:none!important}
.hero .eyebrow{min-height:1px!important;margin:0!important;padding:0!important}
.hero .scroll-cue{
  position:absolute!important;
  left:var(--gutter)!important;
  bottom:28px!important;
  top:auto!important;
  z-index:5!important;
}
.hero .hero-reel-label{bottom:28px!important;right:var(--gutter)!important}
.project-contact{
  padding:clamp(48px,8vw,110px) var(--gutter) clamp(48px,7vw,90px);
  border-top:1px solid var(--line);
}
.project-contact .contact-kicker{font-size:10px;letter-spacing:.16em;color:var(--muted);margin:0 0 18px}
.project-contact h2{font-size:clamp(40px,7vw,96px);line-height:.92;letter-spacing:-.025em;margin:0 0 32px;font-weight:400}
.project-contact h2 span{color:var(--muted)}
.project-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:900px}
.project-contact-form label{display:flex;flex-direction:column;gap:8px;font-size:10px;letter-spacing:.1em;color:var(--muted)}
.project-contact-form input,.project-contact-form textarea{
  width:100%;min-width:0;padding:13px 14px;border:1px solid var(--line);
  background:transparent;color:var(--ink);font:inherit;font-size:14px;letter-spacing:0;outline:none;
}
.project-contact-form textarea{min-height:120px;resize:vertical}
.project-contact-form .form-wide{grid-column:1/-1}
.project-contact-form button{justify-self:start;cursor:pointer}
@media(max-width:600px){.project-contact-form{grid-template-columns:1fr}.project-contact-form .form-wide{grid-column:auto}}


/* V14: contact inquiry forms share the site's established contact headline and button styling */
.project-contact-title{
  display:block!important;
  font-size:clamp(48px,10.5vw,160px)!important;
  line-height:.8!important;
  letter-spacing:-.09em!important;
  font-weight:700!important;
  position:relative!important;
  border-bottom:1px solid var(--line)!important;
  padding-bottom:28px!important;
  margin:0 0 32px!important;
}
.project-contact-title span{color:#888b83!important}
.project-contact .glass-button{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:auto!important;max-width:max-content!important;padding:11px 15px!important;
  border-radius:var(--control-radius,5px)!important;
  background:linear-gradient(145deg,var(--glass-highlight),transparent 42%),var(--glass-bg)!important;
  border:1px solid var(--glass-edge)!important;box-shadow:none!important;
  backdrop-filter:blur(16px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(125%)!important;
  color:var(--ink)!important;font-size:10px!important;letter-spacing:.08em!important;
}
.project-contact .glass-button:hover{transform:translateY(-1px);box-shadow:none!important}


/* V15: unified contact section and form treatment on every page */
.project-contact.contact-section{
  padding:0 var(--gutter) 90px!important;
  border-top:0!important;
  margin-top:0!important;
}
.project-contact .contact-kicker{font-size:inherit!important;letter-spacing:normal!important;margin:0 0 25px!important;color:#777a73!important}
.project-contact .contact-bottom{display:flex!important;justify-content:space-between!important;gap:25px!important;padding-top:22px!important}
.project-contact-title{
  display:block!important;font-size:clamp(48px,10.5vw,160px)!important;
  line-height:.8!important;letter-spacing:-.09em!important;font-weight:700!important;
  position:relative!important;border-bottom:1px solid var(--line)!important;
  padding-bottom:28px!important;margin:0!important;
}
.project-contact-title span{color:#888b83!important}
.project-contact-title b{position:absolute!important;right:0!important;top:10px!important;font-size:clamp(28px,4vw,55px)!important;font-weight:400!important;letter-spacing:0!important}
.project-contact-form{
  margin-top:30px!important;
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;max-width:900px!important;
}
.project-contact-form label{display:flex!important;flex-direction:column!important;gap:8px!important;font-size:10px!important;letter-spacing:.1em!important;color:var(--muted)!important}
.project-contact-form input,.project-contact-form textarea{
  width:100%!important;min-width:0!important;padding:13px 14px!important;
  border:1px solid var(--line)!important;background:transparent!important;
  color:var(--ink)!important;font:inherit!important;font-size:14px!important;letter-spacing:0!important;outline:none!important;
}
.project-contact-form textarea{min-height:120px!important;resize:vertical!important}
.project-contact-form .form-wide{grid-column:1/-1!important}
.project-contact-form .glass-button{
  justify-self:start!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;max-width:max-content!important;padding:11px 15px!important;
  border-radius:var(--control-radius,5px)!important;
  background:linear-gradient(145deg,var(--glass-highlight),transparent 42%),var(--glass-bg)!important;
  border:1px solid var(--glass-edge)!important;box-shadow:none!important;
  backdrop-filter:blur(16px) saturate(125%)!important;-webkit-backdrop-filter:blur(16px) saturate(125%)!important;
  color:var(--ink)!important;font:inherit!important;font-size:10px!important;letter-spacing:.08em!important;
}
.project-contact-form .glass-button:hover{transform:translateY(-1px)!important;box-shadow:none!important;border-color:var(--glass-edge)!important}
@media(max-width:600px){
 .project-contact-form{grid-template-columns:1fr!important}
 .project-contact-form .form-wide{grid-column:auto!important}
 .project-contact .contact-bottom{flex-direction:column!important}
}


/* V16: hero role line replaces the location label */
.hero .eyebrow{
  min-height:0!important;margin:0 0 clamp(12px,1.8vw,24px)!important;
  padding:0!important;color:var(--muted)!important;
  font-size:clamp(9px,.82vw,12px)!important;
  line-height:1.4!important;letter-spacing:.14em!important;
  font-weight:400!important;text-transform:uppercase!important;
}
.hero .eyebrow .eyebrow-location,.hero .eyebrow .live-dot{display:none!important}


/* V19: preserve V16 About section dimensions; enlarge only the logo artwork */
.about-logo-visual{
  min-height:320px!important;
  height:100%!important;
  padding:0!important;
  overflow:visible!important;
  mask-image:linear-gradient(to bottom,#000 0%,#000 35%,rgba(0,0,0,.75) 70%,transparent 100%)!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 35%,rgba(0,0,0,.75) 70%,transparent 100%)!important;
}
.about-logo-visual img{
  width:clamp(560px,58vw,900px)!important;
  max-width:none!important;
  height:auto!important;
  opacity:.42!important;
  filter:grayscale(1)!important;
  mix-blend-mode:multiply!important;
  transform:none!important;
  transition:none!important;
  outline:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
body[data-theme="dark"] .about-logo-visual img{
  filter:invert(1) grayscale(1)!important;
  mix-blend-mode:screen!important;
  opacity:.34!important;
}
.about-logo-visual:hover img,
.about-logo-visual:focus img,
.about-logo-visual img:hover{
  filter:grayscale(1)!important;
  opacity:.42!important;
  transform:none!important;
  outline:none!important;
}
body[data-theme="dark"] .about-logo-visual:hover img,
body[data-theme="dark"] .about-logo-visual img:hover{
  filter:invert(1) grayscale(1)!important;
  opacity:.34!important;
}
@media(max-width:800px){
 .about-logo-visual{min-height:320px!important;overflow:visible!important}
 .about-logo-visual img{width:clamp(440px,90vw,680px)!important;max-width:none!important}
}
@media(max-width:520px){
 .about-logo-visual img{width:clamp(340px,105vw,520px)!important}
}


/* V20: keep About section dimensions unchanged; scale only the visible logo artwork */
.intro-feature{overflow:visible!important}
.intro-feature-grid{position:relative!important;align-items:stretch!important}
.about-logo-visual{
  position:relative!important;
  min-height:320px!important;
  height:100%!important;
  overflow:visible!important;
  padding:0!important;
  mask-image:none!important;-webkit-mask-image:none!important;
}
.about-logo-visual img{
  position:absolute!important;
  top:50%!important;left:50%!important;
  display:block!important;
  width:clamp(560px,36vw,650px)!important;
  max-width:none!important;height:auto!important;
  object-fit:contain!important;
  transform:translate(-50%,-50%)!important;
  opacity:.42!important;filter:grayscale(1)!important;mix-blend-mode:multiply!important;
  transition:none!important;outline:none!important;
}
.about-logo-visual:hover img,.about-logo-visual img:hover,.about-logo-visual:focus img{
  opacity:.42!important;filter:grayscale(1)!important;transform:translate(-50%,-50%)!important;outline:none!important;
}
body[data-theme="dark"] .about-logo-visual img,
body[data-theme="dark"] .about-logo-visual:hover img,
body[data-theme="dark"] .about-logo-visual img:hover{
  filter:invert(1) grayscale(1)!important;mix-blend-mode:screen!important;opacity:.34!important;
}
@media(max-width:800px){
 .about-logo-visual{min-height:320px!important}
 .about-logo-visual img{width:clamp(430px,70vw,600px)!important}
}
@media(max-width:520px){
 .about-logo-visual img{width:clamp(340px,95vw,480px)!important}
}

/* V21: second-section metadata/header removed; no replacement divider */
.intro-feature-head{display:none!important;border:0!important;margin:0!important;padding:0!important}


/* V24: match the visible logo bounds to the hero text block height */
.intro-feature-grid{align-items:stretch!important}
.about-copy{align-self:stretch!important}
.about-logo-visual{
  min-height:0!important;height:auto!important;
  align-self:stretch!important;position:relative!important;
  overflow:visible!important;padding:0!important;
}
.about-logo-visual img{
  position:absolute!important;
  top:50%!important;left:50%!important;
  width:auto!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;
  transform:translate(-50%,-50%)!important;
  opacity:.42!important;filter:grayscale(1)!important;mix-blend-mode:multiply!important;
  transition:none!important;outline:none!important;
}
body[data-theme="dark"] .about-logo-visual img{
  filter:invert(1) grayscale(1)!important;mix-blend-mode:screen!important;opacity:.34!important;
}
.about-logo-visual:hover img,.about-logo-visual img:hover,.about-logo-visual:focus img{
  transform:translate(-50%,-50%)!important;opacity:.42!important;outline:none!important;
}
body[data-theme="dark"] .about-logo-visual:hover img,body[data-theme="dark"] .about-logo-visual img:hover{
  filter:invert(1) grayscale(1)!important;opacity:.34!important;
}
@media(max-width:800px){
 .about-logo-visual{height:auto!important;min-height:0!important}
 .about-logo-visual img{height:100%!important;width:auto!important;max-width:none!important}
}


/* V25: eight ordered project films, with lightweight animated previews */
.project-card{background:#d9d9d4}
.project-card>img{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover}
.project-card .card-video-preview{
  position:absolute;inset:0;z-index:1;width:100%;height:100%;
  object-fit:cover;opacity:0;transition:opacity .25s ease;pointer-events:none;
}
.project-card.preview-playing .card-video-preview{opacity:1}
.project-card .card-top,.project-card .card-caption{z-index:3}
.project-card:after{z-index:2}
.project-card .card-caption strong{max-width:100%;display:block}
.project-card .card-caption small{display:block}
.detail-media{
  width:100%;display:flex;align-items:center;justify-content:center;
  min-height:300px;max-height:none;padding:clamp(16px,3vw,42px);
  margin-top:8px;background:var(--surface, #e9e9e4);
}
.detail-hero-video{
  display:block;width:auto;height:auto;max-width:100%;max-height:82vh;
  aspect-ratio:9/16;object-fit:contain;background:#111;
}
@media(max-width:800px){
 .detail-media{min-height:0;padding:12px}
 .detail-hero-video{width:min(100%,560px);max-height:75vh}
}


/* V26: compact editorial case-study layout below each project film */
.case-story{padding:clamp(34px,5vw,72px) 0 10px}
.case-story-index,.case-endline{
  display:flex;justify-content:space-between;gap:18px;
  border-top:1px solid var(--line);padding:12px 0;
  font-size:9px;letter-spacing:.12em;color:var(--muted);
}
.case-story-intro{
  display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(24px,5vw,80px);
  align-items:end;padding:clamp(30px,5vw,68px) 0 clamp(36px,5vw,70px);
}
.case-story-intro h2{
  font-size:clamp(36px,6.2vw,88px);line-height:.92;letter-spacing:-.065em;
  font-weight:700;max-width:850px;margin:0;
}
.case-story-intro p{
  font-size:clamp(15px,1.25vw,19px);line-height:1.55;max-width:460px;
  color:var(--muted);margin:0 0 5px;
}
.case-gallery{
  display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr);
  gap:clamp(8px,1.2vw,18px);align-items:start;
}
.case-image{min-width:0;margin:0}
.case-image-2{margin-top:clamp(24px,8vw,110px)}
.case-image img{
  display:block;width:100%;height:clamp(300px,44vw,620px);
  object-fit:cover;background:var(--surface,#e7e7e2);
}
.case-image-2 img{height:clamp(240px,34vw,480px)}
.case-image figcaption{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:10px 0 0;font-size:9px;letter-spacing:.09em;color:var(--muted);
}
.case-endline{margin-top:clamp(34px,5vw,64px);border-bottom:1px solid var(--line)}
.detail-media{background:var(--surface,#e9e9e4)}
.detail-hero-video{max-height:82vh}
@media(max-width:800px){
 .case-story-intro{grid-template-columns:1fr;gap:18px}
 .case-gallery{grid-template-columns:1fr 1fr;gap:8px}
 .case-image-2{margin-top:40px}
 .case-image img{height:clamp(220px,58vw,420px)}
 .case-image-2 img{height:clamp(180px,46vw,340px)}
}
@media(max-width:520px){
 .case-gallery{grid-template-columns:1fr}
 .case-image-2{margin-top:16px}
 .case-image img,.case-image-2 img{height:auto;max-height:none;aspect-ratio:4/5;object-fit:cover}
 .case-image figcaption{font-size:8px}
}


/* V27: 30% taller first/showreel section; compact emblem links home from every page */
.hero{min-height:845px!important}
.hero-showreel{height:100%!important}
.brand-logo{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:42px!important;height:42px!important;flex:0 0 42px!important;gap:0!important}
.brand-logo img{
  display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;
  mix-blend-mode:multiply!important;opacity:.9!important;transition:none!important;filter:none!important;
}
body[data-theme="dark"] .brand-logo img{filter:invert(1)!important;mix-blend-mode:screen!important}
.brand-logo:hover img,.brand-logo:focus img{transform:none!important;filter:inherit!important;opacity:.9!important;outline:none!important}
@media(max-width:800px){.hero{min-height:806px!important}}
@media(max-width:520px){.hero{min-height:780px!important}}


/* V28: use the transparent logo asset and give the header mark a little more presence */
.brand-logo{
  width:54px!important;height:44px!important;flex:0 0 54px!important;
}
.brand-logo img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  background:transparent!important;
}
@media(max-width:800px){
  .brand-logo{width:48px!important;height:40px!important;flex-basis:48px!important}
}


/* V36 follow-up: custom Fomesones cursor, reduced by one third.
   Keep it consistent across elements and interaction states. */
@media (hover: hover) and (pointer: fine) {
  html, body, body *, body *::before, body *::after {
    cursor: url("assets/custom-cursor.png") 1 1, auto !important;
  }
  html:active, body:active, body *:active,
  html:focus, body:focus, body *:focus,
  html:focus-within, body:focus-within, body *:focus-within {
    cursor: url("assets/custom-cursor.png") 1 1, auto !important;
  }
}

/* V30: Services — restrained editorial four-column layout */
.services-section{
  padding:clamp(64px,9vw,132px) var(--gutter) clamp(48px,6vw,88px);
  border-top:1px solid var(--line);
}
.services-heading{
  display:flex;justify-content:space-between;align-items:flex-end;gap:28px;
  padding-bottom:clamp(32px,5vw,70px);
}
.services-heading .section-number{
  display:block;font-size:9px;letter-spacing:.13em;color:var(--muted);margin-bottom:24px;
}
.services-heading h2{
  margin:0;font-size:clamp(46px,7vw,100px);line-height:.9;letter-spacing:-.065em;font-weight:700;
}
.services-heading h2 span{color:var(--muted)}
.services-heading>p{
  margin:0 0 5px;max-width:280px;color:var(--muted);
  font-size:clamp(12px,1vw,15px);line-height:1.5;
}
.services-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.service-item{
  position:relative;display:flex;flex-direction:column;min-width:0;
  padding:18px 16px 18px 0;min-height:230px;
  border-right:1px solid var(--line);overflow:hidden;
}
.service-item:not(:first-child){padding-left:16px}
.service-item:last-child{border-right:0;padding-right:0}
.service-preview{
  display:block;position:relative;width:100%;height:0;overflow:hidden;
  margin-bottom:0;opacity:0;transform:translateY(8px);
  transition:height .35s ease,opacity .3s ease,transform .35s ease,margin .35s ease;
}
.service-preview img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:grayscale(.12)}
.service-title{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px;
  font-size:clamp(18px,1.7vw,27px);line-height:1.02;letter-spacing:-.045em;font-weight:700;
}
.service-title i{font-style:normal;font-size:14px;font-weight:400;transition:transform .25s ease}
.service-description{
  display:block;max-width:260px;margin-top:16px;color:var(--muted);
  font-size:clamp(12px,.95vw,14px);line-height:1.5;
}
.service-bottom{
  display:block;margin-top:auto;padding-top:30px;font-size:8px;
  letter-spacing:.12em;color:var(--muted);
}
.service-item:hover .service-preview,.service-item:focus-visible .service-preview{
  height:clamp(100px,12vw,170px);margin-bottom:18px;opacity:1;transform:translateY(0);
}
.service-item:hover .service-title i,.service-item:focus-visible .service-title i{transform:translate(3px,-3px)}
.services-footer{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding-top:18px;font-size:9px;letter-spacing:.1em;color:var(--muted);
}
.services-footer a{color:var(--ink);border-bottom:1px solid var(--line);padding-bottom:5px}
.services-footer b{font-weight:400;margin-left:12px}
@media(max-width:900px){
 .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-item{min-height:220px;padding:16px!important;border-bottom:1px solid var(--line)}
 .service-item:nth-child(2){border-right:0}
 .service-item:nth-child(n+3){border-bottom:0}
 .service-item:hover .service-preview,.service-item:focus-visible .service-preview{height:clamp(120px,22vw,190px)}
}
@media(max-width:560px){
 .services-heading{display:block}
 .services-heading h2{font-size:clamp(44px,12vw,68px)}
 .services-heading>p{margin-top:22px}
 .services-grid{grid-template-columns:1fr}
 .service-item,.service-item:not(:first-child){min-height:0;padding:18px 0!important;border-right:0;border-bottom:1px solid var(--line)}
 .service-item:last-child{border-bottom:0}
 .service-preview{height:110px;opacity:1;transform:none;margin-bottom:14px}
 .service-title{font-size:24px}
 .service-description{margin-top:10px}
 .service-bottom{padding-top:18px}
 .services-footer{font-size:8px}
}


/* V31: taller service columns with image-under-type gradient treatment */
.services-section{border-top:1px solid var(--line)!important}
.services-grid{border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important}
.service-item{
  min-height:300px!important;
  isolation:isolate!important;
  padding-top:24px!important;padding-bottom:22px!important;
}
.service-preview{
  position:absolute!important;inset:0!important;
  z-index:-1!important;width:100%!important;height:100%!important;
  margin:0!important;opacity:0!important;transform:none!important;
  pointer-events:none!important;transition:opacity .35s ease!important;
}
.service-preview img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;filter:none!important;
}
.service-item::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(to top,var(--paper) 0%,color-mix(in srgb,var(--paper) 82%,transparent) 24%,color-mix(in srgb,var(--paper) 26%,transparent) 58%,transparent 100%);
  opacity:0;transition:opacity .35s ease;
}
.service-title,.service-description,.service-bottom{position:relative;z-index:1}
.service-item:hover .service-preview,.service-item:focus-visible .service-preview{
  height:100%!important;margin:0!important;opacity:1!important;transform:none!important;
}
.service-item:hover::before,.service-item:focus-visible::before{opacity:1}
.service-title i{color:inherit}
.services-footer{border-top:1px solid var(--line)!important;margin-top:0!important}
.contact-title{border-bottom:0!important;text-decoration:none!important}
.contact-title::after{display:none!important}
@media(max-width:900px){
 .service-item{min-height:300px!important}
 .service-preview{height:100%!important;opacity:1!important}
 .service-item::before{opacity:1!important}
}
@media(max-width:560px){
 .service-item,.service-item:not(:first-child){min-height:260px!important}
 .service-preview{height:100%!important}
}


/* V32: restore the expanding editorial service tiles, with a taller image reveal */
.services-section{border-bottom:1px solid var(--line)!important}
.services-grid{border-bottom:0!important}
.service-item{
  min-height:320px!important;
  display:flex!important;flex-direction:column!important;
  overflow:hidden!important;isolation:auto!important;
  padding-top:20px!important;padding-bottom:22px!important;
}
.service-preview{
  position:relative!important;inset:auto!important;z-index:0!important;
  display:block!important;width:100%!important;height:0!important;
  flex:0 0 auto!important;overflow:hidden!important;
  margin:0!important;opacity:0!important;transform:translateY(-8px)!important;
  transition:height .5s cubic-bezier(.2,.75,.25,1),opacity .3s ease,transform .5s ease,margin .5s ease!important;
  pointer-events:none!important;
}
.service-preview img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;filter:none!important;
}
.service-preview::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,transparent 48%,color-mix(in srgb,var(--paper) 28%,transparent) 70%,var(--paper) 100%);
}
.service-item::before{display:none!important}
.service-title,.service-description,.service-bottom{
  position:relative!important;z-index:1!important;
}
.service-title{transition:transform .5s cubic-bezier(.2,.75,.25,1)!important}
.service-description{transition:transform .5s cubic-bezier(.2,.75,.25,1)!important}
.service-item:hover .service-preview,.service-item:focus-visible .service-preview{
  height:clamp(190px,24vw,340px)!important;
  margin:0 0 18px!important;opacity:1!important;transform:translateY(0)!important;
}
.service-item:hover .service-title,.service-item:focus-visible .service-title,
.service-item:hover .service-description,.service-item:focus-visible .service-description{
  transform:translateY(0)!important;
}
@media(max-width:900px){
 .service-item{min-height:300px!important}
 .service-preview{height:0!important;opacity:0!important}
 .service-item:hover .service-preview,.service-item:focus-visible .service-preview{
  height:clamp(180px,32vw,270px)!important;opacity:1!important
 }
}
@media(max-width:560px){
 .service-item,.service-item:not(:first-child){min-height:260px!important}
 .service-preview{height:130px!important;opacity:1!important;transform:none!important;margin:0 0 14px!important}
 .service-preview::after{background:linear-gradient(to bottom,transparent 45%,var(--paper) 100%)}
}


/* V33: align the Contact section's top breathing room with the other sections */
.contact-section{
  padding-top:clamp(48px,6vw,88px)!important;
}


/* V34: portfolio contact alignment and restrained page separators */
.portfolio-contact{
  margin-left:0!important;margin-right:0!important;
  padding-left:var(--gutter)!important;padding-right:var(--gutter)!important;
  border-top:1px solid var(--line)!important;
}
.portfolio-main .portfolio-intro,
.portfolio-main .filter-bar,
.portfolio-main .portfolio-project-grid,
.portfolio-main .portfolio-bottom,
.portfolio-main .portfolio-contact{border-bottom:0!important;border-top:0!important}
.portfolio-main .portfolio-contact{border-top:1px solid var(--line)!important}
.portfolio-main .portfolio-project-grid{margin-bottom:0!important}
.portfolio-main .portfolio-bottom{border:0!important}


/* V35: project case-study cleanup, credits and paired navigation */
.project-video-wrap{border:0!important;box-shadow:none!important}
.case-story-index{display:none!important}
.case-gallery{border:0!important}
.case-image,.case-image figcaption{border:0!important}
.case-image::after,.case-image figcaption::after{display:none!important}
.case-endline{display:none!important}
.project-credits{
  padding:clamp(26px,4vw,48px) 0 0;
  border:0!important;
}
.project-credits h3{
  margin:0 0 12px;font-size:12px;font-weight:500;letter-spacing:.04em;
}
.project-credits p{
  margin:0;font-size:12px;line-height:1.5;color:var(--muted);
}
.project-navigation{
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:clamp(42px,6vw,76px) 0 20px;border:0!important;
}
.project-nav-button{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:48px;padding:0 18px;border:1px solid var(--line)!important;
  border-radius:4px;background:transparent!important;box-shadow:none!important;
  font-size:9px;letter-spacing:.09em;color:var(--ink)!important;
  text-decoration:none;transition:background .2s ease,border-color .2s ease,opacity .2s ease;
}
.project-nav-button:hover:not(.is-disabled){background:var(--surface)!important}
.project-nav-button .nav-arrow{font-size:18px;line-height:1;font-weight:400}
.project-nav-button.is-disabled{opacity:.28;pointer-events:none;cursor:default}
.next-project{display:none!important}
@media(max-width:520px){
 .project-navigation{gap:10px}
 .project-nav-button{padding:0 10px;font-size:8px;gap:7px;min-height:44px}
 .project-nav-button .nav-arrow{font-size:16px}
}


/* V36: consistent navigation arrows, contact title and button states */
.site-header nav a span{display:none!important}
.scroll-cue i{font-size:11px!important;line-height:1!important;font-style:normal}
.intro-feature .glass-button span{display:inline-block;transform:rotate(90deg);font-size:.9em}
.contact-title{cursor:default!important;border-bottom:0!important;padding-bottom:0!important}
.contact-title b{display:none!important}
.site-footer .footer-brand{color:var(--muted)!important}
.site-footer .footer-copyright{color:var(--muted)!important;font-size:9px;letter-spacing:.04em}
.filter-button,.glass-button,.button,.project-nav-button,.scroll-cue{
  transition:background-color .22s ease,color .22s ease,border-color .22s ease,opacity .22s ease!important;
}
.filter-button[aria-pressed="true"]{
  background:color-mix(in srgb,var(--ink) 10%,var(--paper))!important;
  color:var(--ink)!important;border-color:var(--line)!important;
}
.filter-button:hover:not([aria-pressed="true"]),
.glass-button:hover,.button:hover,.project-nav-button:hover:not(.is-disabled){
  background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important;
}
body[data-theme="dark"] .filter-button[aria-pressed="true"]{
  background:color-mix(in srgb,var(--paper) 15%,transparent)!important;
  color:var(--ink)!important;border-color:var(--line)!important;
}
body[data-theme="dark"] .filter-button:hover:not([aria-pressed="true"]),
body[data-theme="dark"] .glass-button:hover,
body[data-theme="dark"] .button:hover,
body[data-theme="dark"] .project-nav-button:hover:not(.is-disabled){
  background:var(--paper)!important;color:var(--ink)!important;border-color:var(--paper)!important;
}
.filter-button:focus-visible,.glass-button:focus-visible,.button:focus-visible,.project-nav-button:focus-visible{
  outline:1px solid var(--muted)!important;outline-offset:3px;
}
.filter-button:active,.glass-button:active,.button:active,.project-nav-button:active:not(.is-disabled){
  opacity:.72!important;transform:translateY(1px);
}


/* V36 follow-up: make the portfolio contact block use the same layout
   and responsive heading scale as the homepage contact block. */
.portfolio-contact{
  padding-top:clamp(48px,6vw,88px)!important;
}
.portfolio-contact .contact-title{
  font-size:clamp(48px,10.5vw,160px)!important;
}
@media(max-width:520px){
  .portfolio-contact .contact-title{
    font-size:clamp(43px,11.8vw,62px)!important;
    padding-bottom:20px!important;
  }
}


/* V37: keep button outlines visible in dark mode while using a restrained inversion. */
html[data-theme="dark"] .glass-button:hover,
body[data-theme="dark"] .glass-button:hover,
html[data-theme="dark"] .filter-button:hover,
body[data-theme="dark"] .filter-button:hover,
html[data-theme="dark"] .theme-toggle:hover,
body[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .menu-toggle:hover,
body[data-theme="dark"] .menu-toggle:hover,
html[data-theme="dark"] .glass-button:focus-visible,
body[data-theme="dark"] .glass-button:focus-visible,
html[data-theme="dark"] .filter-button:focus-visible,
body[data-theme="dark"] .filter-button:focus-visible,
html[data-theme="dark"] .theme-toggle:focus-visible,
body[data-theme="dark"] .theme-toggle:focus-visible {
  background: #f0f0e9 !important;
  color: #151715 !important;
  border: 1px solid #f0f0e9 !important;
  outline: 1px solid #f0f0e9 !important;
  outline-offset: 2px !important;
}
html[data-theme="dark"] .glass-button:active,
body[data-theme="dark"] .glass-button:active,
html[data-theme="dark"] .filter-button:active,
body[data-theme="dark"] .filter-button:active {
  border: 1px solid #f0f0e9 !important;
}


/* V38: stable theme bootstrap and visible dark-mode control states. */
html[data-theme="dark"] { background: #151715; color-scheme: dark; }
html[data-theme="light"] { background: #f4f4f0; color-scheme: light; }
body[data-theme="dark"] .theme-toggle:hover,
body[data-theme="dark"] .theme-toggle:focus-visible,
body[data-theme="dark"] .glass-button:hover,
body[data-theme="dark"] .glass-button:focus-visible,
body[data-theme="dark"] .all-work-link:hover,
body[data-theme="dark"] .all-work-link:focus-visible,
body[data-theme="dark"] .text-link:hover,
body[data-theme="dark"] .text-link:focus-visible,
body[data-theme="dark"] .filter-button:hover,
body[data-theme="dark"] .filter-button:focus-visible,
body[data-theme="dark"] .menu-toggle:hover,
body[data-theme="dark"] .menu-toggle:focus-visible,
body[data-theme="dark"] .reel-close:hover,
body[data-theme="dark"] .reel-close:focus-visible {
  color: #151715 !important;
  background: #f0f0e9 !important;
  border-color: #f0f0e9 !important;
  outline: 1px solid #f0f0e9 !important;
  outline-offset: 2px !important;
}


/* V39: explicit theme variable bridge; JS sets both html and body attributes. */
html[data-theme="dark"] body { --paper:#151715; --ink:#f0f0e9; --muted:#a4a79e; --line:#383c36; color-scheme:dark; }
html[data-theme="light"] body { color-scheme:light; }


/* Portfolio contact sits flush with the site's main horizontal grid. */
.portfolio-main .portfolio-contact {
  margin-left: calc(-1 * var(--gutter)) !important;
  margin-right: calc(-1 * var(--gutter)) !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
  border-top: 0 !important;
  position: relative;
}
.portfolio-main .portfolio-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}
/* Full viewport-width rule beneath Previous / Next Project controls. */
.project-navigation {
  position: relative;
  border-bottom: 0 !important;
  padding-bottom: clamp(42px, 6vw, 76px) !important;
}
.project-navigation::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--line);
  pointer-events: none;
}
/* Footer divider runs edge-to-edge, independent of footer content gutters. */
.site-footer { position: relative; border-top: 0 !important; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--line);
}


/* V44: single source of truth for interactive button states.
   Light theme: filled inversion. Dark theme: outline-only hover, matching the homepage controls. */
:root {
  --button-hover-bg: var(--ink);
  --button-hover-fg: var(--paper);
  --button-hover-border: var(--ink);
}
html[data-theme="dark"] body {
  --button-hover-bg: transparent;
  --button-hover-fg: var(--ink);
  --button-hover-border: var(--ink);
}
:where(.theme-toggle, .menu-toggle, .glass-button, .text-link, .all-work-link,
       .filter-button, .reel-close, .button, .project-nav-button) {
  transition: background-color .22s ease, color .22s ease, border-color .22s ease,
              outline-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease !important;
}
html body :is(.theme-toggle, .menu-toggle, .glass-button, .text-link, .all-work-link,
       .filter-button:not([aria-pressed="true"]), .reel-close, .button, .project-nav-button):hover:not(:disabled):not(.is-disabled) {
  background: var(--button-hover-bg) !important;
  color: var(--button-hover-fg) !important;
  border-color: var(--button-hover-border) !important;
  box-shadow: none !important;
  outline: none !important;
}
html[data-theme="dark"] body[data-theme="dark"] :is(.theme-toggle, .menu-toggle, .glass-button, .text-link, .all-work-link,
       .filter-button:not([aria-pressed="true"]), .reel-close, .button, .project-nav-button):hover:not(:disabled):not(.is-disabled) {
  background: transparent !important;
  color: var(--ink) !important;
  border-color: var(--ink) !important;
  box-shadow: none !important;
  outline: none !important;
}
html[data-theme="dark"] body[data-theme="dark"] :is(.theme-toggle, .menu-toggle, .glass-button, .text-link, .all-work-link,
       .filter-button:not([aria-pressed="true"]), .reel-close, .button, .project-nav-button):hover:not(:disabled):not(.is-disabled) * {
  color: var(--ink) !important;
}
:where(.theme-toggle, .menu-toggle, .glass-button, .text-link, .all-work-link, .filter-button, .reel-close, .button, .project-nav-button):focus-visible {
  outline: 1px solid var(--muted) !important; outline-offset: 3px !important;
}
:where(.theme-toggle, .menu-toggle, .glass-button, .text-link, .all-work-link, .filter-button, .reel-close, .button, .project-nav-button):active:not(:disabled):not(.is-disabled) {
  transform: translateY(1px) !important; opacity: .78 !important;
}
.project-nav-button.is-disabled { opacity: .28 !important; pointer-events: none !important; }
.filter-button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--ink) 10%, var(--paper)) !important;
  color: var(--ink) !important; border-color: var(--line) !important;
}
html[data-theme="dark"] body[data-theme="dark"] .filter-button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--paper) 15%, transparent) !important;
  color: var(--ink) !important; border-color: var(--line) !important;
}


/* V47: consistent project-gallery frames and captions across all case studies */
.case-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,20px);align-items:start}
.case-image-2{margin-top:0}
.case-image img{width:100%;height:clamp(450px,64vw,900px);object-fit:cover;display:block}
.case-image-2 img{height:clamp(450px,64vw,900px)}
.case-image figcaption{display:block;padding:10px 0 0;font-size:9px;letter-spacing:.1em;color:var(--muted)}
.case-story-intro-secondary{padding-top:clamp(52px,7vw,100px)}
.case-gallery-secondary{margin-top:0}
.project-credits{margin-top:clamp(44px,6vw,84px)}
.project-credits p{font-size:12px;line-height:1.7;margin:4px 0;color:var(--muted)}
.project-credits a{color:inherit;text-decoration:none}
.project-credits a:hover{text-decoration:underline}
@media(max-width:800px){.case-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.case-image img,.case-image-2 img{height:clamp(340px,78vw,620px)}}
@media(max-width:520px){.case-gallery{grid-template-columns:1fr}.case-image img,.case-image-2 img{height:auto;aspect-ratio:4/5;object-fit:cover}.case-story-intro-secondary{padding-top:38px}}


/* V48: editorial alignment refinement for the Hidden.NY × PAF case study. */
body.project-hiddenny-paf .case-story-intro {
  align-items: start;
}
body.project-hiddenny-paf .case-story-intro p {
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
  max-width: 480px;
  margin: 0;
}

.cms-hero figure { margin:0; height:100%; }
.cms-hero img,.cms-hero video,.case-image video {width:100%; max-width:100%; display:block}
@media(min-width:769px){.cms-grid{grid-template-columns:repeat(var(--cols),minmax(0,1fr))}}

/* CMS block settings */
.cms-size-contained {width:80%;margin-inline:auto;}
.cms-size-half {width:50%;margin-inline:auto;}
.cms-text-centered {display:block;text-align:center;max-width:800px;margin-inline:auto;}
.cms-text-plain {display:block;max-width:800px;}
.cms-text-plain h2:empty {display:none;}
.cms-text-plain p,.cms-text-centered p {white-space:pre-line;}
.cms-status {grid-column:1/-1;padding:48px 0;}
@media(max-width:700px){.cms-size-contained,.cms-size-half{width:100%;}}
